我已经安装了Pl of Xlrd并且我看到了成功
C:\Users\<FilePath>\AppData\Local\Programs\Python\Python36\Scripts>pip.exe install C:\Users\<FilePath>\Downloads\xlrd-1.1.0-py2.py3-none-any.whl
Requirement already satisfied: xlrd==1.1.0 from file:///C:/Users/<FilePath>/Downloads/xlrd-1.1.0-py2.py3-none-any.whl in c:\users\<FilePath>\appdata\local\programs\python\python36\lib\site-packages (1.1.0)
C:\Users\<FilePath>\AppData\Local\Programs\Python\Python36\Scripts>pip3.6.exe install C:\Users\<FilePath>\Downloads\xlrd-1.1.0-py2.py3-none-any.whl
Requirement already satisfied: xlrd==1.1.0 from file:///C:/Users/<FilePath>/Downloads/xlrd-1.1.0-py2.py3-none-any.whl in c:\users\<FilePath>\appdata\local\programs\python\python36\lib\site-packages (1.1.0)
现在在python代码中,我写的是
import xlrd
出现以下错误:
Traceback (most recent call last):
File "C:/<FilePath>", line 2, in <module>
import xlrd
ModuleNotFoundError: No module named 'xlrd'
我想,我正在做一个简单的错误,并试图找出分配,但我没有成功。请帮帮我