I'm trying to read a .xlxs file in Python using xlrd
, but I keep getting the error Unable to import xlrd
.
When I try to re-install xlrd
using:
pip install xlrd
I keep getting the message
Requirement already satisfied: xlrd in ./anaconda3/lib/python3.6/site-packages (1.1.0)
And my error message after running my code is
Traceback (most recent call last):
File "/Users/YoungFreeesh/Venture Capital Internship/.../.../Read-csv.py", line 2, in <module>
import xlrd # import the xlrd module
ImportError: No module named xlrd
Also, not sure if this is relevant but I'm using Visual Studio & Python 3.6.5
I'm not sure why I can't import xlrd
since I already have it downloaded.