ImportError: No module named xlrd - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: General Coding Help (https://python-forum.io/forum-8.html) +--- Thread: ImportError: No module named xlrd (/thread-21247.html) |
ImportError: No module named xlrd - dhiliptcs - Sep-20-2019 I am trying to extract data from XL sheet and I tried to use the below import xlrd ( I also tried "pandas", "openpyxl"; Same error resulted)When I checked in lib folder, I was able to find xlrd package in the path - /projects/software/miniconda_3.7.3/pkgs/xlrd-1.1.0-py35_0/lib/python3.5/site-packages/xlrd can anyone please help me how to resolve this? RE: Import Python module - Yoriz - Sep-20-2019 Do you have more than one install of python / are you sure you are using miniconda_3.7.3 in this instance. RE: Import Python module - dhiliptcs - Sep-20-2019 Yes, I believe we do have the below. python -V Python 2.7.13 Looks like, we are not referring to below miniconda_3.7.3.. Please let me know how to utilize or install or invoke packages(specifically xlrd) RE: Import Python module - Yoriz - Sep-20-2019 It depends how you are running the code ? RE: ImportError: No module named xlrd - dhiliptcs - Sep-20-2019 Thank you! RE: ImportError: No module named xlrd - brighteningeyes - Sep-21-2019 hi, type python3 -vand check it's version also, use pip3 install xlrdto install it the same is true with pandas |