I have a very similar question to this question, but still one step behind. I have only one version of Python 3 installed on my Windows 7 (sorry) 64-bit system.
You can try:
py -3 -m pip install anyPackageName
In your case use:
py -3 -m pip install numpy
Thanks
solution for me - I installed numpy inside a virtual environment, but then running ipython was not inside virtual env:
(venv) ➜ which python
/Users/alon/code/google_photos_project/venv/bin/python
(venv) ➜ which ipython
/usr/bin/ipython
so I had to install ipython, and run ipython from the venv like this:
python -c 'import IPython; IPython.terminal.ipapp.launch_new_instance()'
I was trying to use NumPy
in Intellij
but was facing the same issue so, I figured out that NumPy also comes with pandas
. So, I installed pandas with IntelliJ tip
and later on was able to import NumPy. Might help someone someday!
I think there are something wrong with the installation of numpy. Here are my steps to solve this problem.
python setup.py install
You can simply use
pip install numpy
Or for python3, use
pip3 install numpy
I had this problem too after I installed Numpy. I solved it by just closing the Python interpreter and reopening. It may be something else to try if anyone else has this problem, perhaps it will save a few minutes!