我是python新手,所以这可能是一个简单的修复,但我无法通过google找到解决方案。尝试在模块上运行导入时遇到此错误。
Traceback (most recent call last):
File "c:/Users/joeshmo/OneDrive - company Industries/Documents/Python/Excel Join/join.py", line 1, in
from openpyxl import load_workbook
ModuleNotFoundError: No module named 'openpyxl'
Openpyxl已经安装了,因为pip告诉我这个。。。
pip install openpyxl
Requirement already satisfied: openpyxl in c:\users\joeshmo\appdata\local\programs\python\python38-32\lib\site-packages (3.0.5)
Requirement already satisfied: jdcal in c:\users\joeshmo\appdata\local\programs\python\python38-32\lib\site-packages (from openpyxl) (1.4.1)
Requirement already satisfied: et-xmlfile in c:\users\joeshmo\appdata\local\programs\python\python38-32\lib\site-packages (from openpyxl) (1.0.1)
Python安装在这里。。。
C:\Users\joeshmo\AppData\Local\Programs\Python\Python38-32
这里是蟒蛇。。。
C:\Users\joeshmo\AppData\Local\Programs\Python\Python38-32\python38.zip
C:\Users\joeshmo\AppData\Local\Programs\Python\Python38-32\DLLs
C:\Users\joeshmo\AppData\Local\Programs\Python\Python38-32\lib
C:\Users\joeshmo\AppData\Local\Programs\Python\Python38-32
C:\Users\joeshmo\AppData\Roaming\Python\Python38\site-packages
C:\Users\joeshmo\AppData\Local\Programs\Python\Python38-32\lib\site-packages
在windows 10上。
任何帮助都将不胜感激!