import pandas as pd not working in pclinuxos - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: Data Science (https://python-forum.io/forum-44.html) +--- Thread: import pandas as pd not working in pclinuxos (/thread-18462.html) |
import pandas as pd not working in pclinuxos - loren41 - May-18-2019 Running python 3.6.5 in pclinuxos. Installed python3-pandas using Synaptic package manager. Tried to import pandas as pd but received "No module named pandas" message. Is this an address problem? RE: import pandas as pd not working in pclinuxos - Larz60+ - May-18-2019 Do you have more than one version of python installed? You may have installed Pandas to a version other than the one you intended to. Try from command line: python -V pip -VDo both point to desired version? RE: import pandas as pd not working in pclinuxos - loren41 - May-19-2019 The answer is yes. When I tried to install IDLE and subsequently Sublime Text, the pclinuxos forum advised that I cannot remove it's version of Python2. After restoring Python2, I was able to run Python3 using both editors. I settled on Sublime Text. I am able to import cvs. Is pandas also a module? I installed python3-pip, but the command could not find it. See the results below: [bob@localhost ~]$ python -V Python 2.7.9 [bob@localhost ~]$ pip -V bash: pip: command not found [bob@localhost ~]$ RE: import pandas as pd not working in pclinuxos - Larz60+ - May-19-2019 try: pip3 -V and you may have to use python3 in python commands python3 -V
|