I have both Python 3.5 and Python 3.6 on my laptop. I am using Ubuntu 16.04. I used pip3 to install numpy. It is working with Python3.5 but not with Python3.6. Please help.
-
1Using conda distribution and environments might make your life easier when you want to have multiple python versions installed.relay– relay2018-02-17 10:42:17 +00:00Commented Feb 17, 2018 at 10:42
Add a comment
|
3 Answers
Cannot comment since I don't the rep.
If your default python is 3.5 when you check python --version, the way to go would be to find the location of the python executable for the desired version (here 3.6).
cd to that folder and then run the command given by Mike.
2 Comments
Gaurav Kumar
so you have to locate the binary first.
Subhojeet
Sorry I am new to Linux. I did not understand this "so you have to locate the binary first"