M BUZZ CRAZE NEWS
// general

Ubuntu 16.04 : Can't seem to make numpy work in python 3.6.5 but it works fine in python 2.7.12

By Gabriel Cooper

when I run import numypy in python 3 , the following appears :ModuleNotFoundError: No module named 'numpy'

So you might say try pip3 install numpyBut it is already installed which is confirmed when I run pip3 install numpy it shows:

Requirement already satisfied: numpy in /home/shreyash/.local/lib/python3.5/site-packages (1.14.3)

I did try python3 -m pip install numpy but it says : No module named pip

additinal info: i use pip version 10.0.1 check the terminal screenshot :-(

related question : Can't uninstall Python 3.6

I'm unable to make my code run in neither of python2.7 , python3.5 , python 3.6.
numpy works fine with version 2.7 but then it encounters the same problem for using matplotlib. I'm fine with whatever python version so long as I'm able to run my code. I would prefer version 3.x though.

9 Reset to default

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy