Does "import xlrd" work in Thonny? - 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: Does "import xlrd" work in Thonny? (/thread-26345.html) |
Does "import xlrd" work in Thonny? - cnutakor - Apr-29-2020 I installed Python 3.8 on my computer and I also installed Thonny. Since I am new to programming, I prefer the Thonny interface where you can see all the codes in nice colors and also the results of the program are shown below on the same page. I wrote a code trying to read from an excel file. The "Import xlrd" works fine in Python but always gives me an error in Thonny. Does it not work in Thonny? The error message is below: import xlrd ModuleNotFoundError: No module named 'xlrd' RE: Does "import xlrd" work in Thonny? - Larz60+ - Apr-29-2020 did you install? from command line: pip install xlrd
RE: Does "import xlrd" work in Thonny? - cnutakor - Apr-29-2020 Yes I installed from command line. That was how I got it to work in python 3.8.2 but on computer, it will not work in Thonny. RE: Does "import xlrd" work in Thonny? - Larz60+ - Apr-30-2020 Sorry, I guess I can't answer this properly as I know nothing about Thonny. My only suggestion would be to find out which version Thonny is using. then from their shell, try pip list and make sure you see xlrd
|