|

楼主 |
发表于 2023-7-21 10:45:58
|
显示全部楼层
2. C:\Users\12491>python --version Python 3.7.0使用该命令得到这个 应该是安装正确了吧
3. Requirement already satisfied: openpyxl in c:\programdata\anaconda3\lib\site-packages (2.5.6) Requirement already satisfied: et-xmlfile in c:\programdata\anaconda3\lib\site-packages (from openpyxl) (1.0.1) Requirement already satisfied: jdcal in c:\programdata\anaconda3\lib\site-packages (from openpyxl) (1.4) You are using pip version 10.0.1, however version 23.2 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.
但是检测了还是没有这个模块
import openpyxl Traceback (most recent call last):
File "<pyshell#0>", line 1, in <module>
import openpyxl ModuleNotFoundError: No module named 'openpyxl' |
|