On linux machine "Ubuntu 16.04.5 LTS", I have at least 3 versions of python installed: 2.7 , 3.5 and 3.6.8
I am having a problem especially between 3.6 and 3.5.
When working with jupyter notebook, I see that it's using 3.6.8 python version.
But when I try to install a package, pip
installs it in 3.5 . The same issue is for python running in the terminal. It runs 3.6.8
Example :
Whether on jpyter or on terminal, I can't import the pandas
package. import pandas
is returning module not installed error message.
But when I check, I find the installation may have gone to python3.5 not 3.6.8
I install it with pip
but I still get the same problem. I don't actually know how to solve this without removing everything and starting from the beginning because I have a very complicated package setup that took me long time to set up.
The solution here did not help too much because I dont have pip3.x on my computer.
Your thoughts?