when I run import numypy
in python 3 , the following appears :
ModuleNotFoundError: No module named 'numpy'
So you might say try pip3 install numpy
But 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.
pip
version usingPYTHON -m pip install numpy
, replacingPYTHON
with the command for your interpreter, e.g.python3
. – Byte Commander May 13 '18 at 19:40E: Unable to locate package python3.6 E: Couldn't find any package by glob 'python3.6' E: Couldn't find any package by regex 'python3.6'
– goalpost May 14 '18 at 08:01apt
, it can't be removed that way either. – Byte Commander May 14 '18 at 08:34