Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

pip install numpy doesn't work: "No matching distribution found"

I am a newbie in Python. I installed Python 2.7.10 and it comes already with pip. I tried to run this command to download the NumPy library.

D:\workspace\python>pip install numpy
Collecting numpy
  Could not find a version that satisfies the requirement numpy (from versions: )
No matching distribution found for numpy

But I got this error. How can I solve this?

I also want to know the difference between easy_install and pip.

like image 475
verystrongjoe Avatar asked Aug 11 '15 02:08

verystrongjoe


People also ask

Can you pip install NumPy?

NumPy can be installed with conda , with pip , with a package manager on macOS and Linux, or from source.

Is NumPy automatically installed with Anaconda?

If you installed the Anaconda distribution of Python, NumPy comes pre-installed and no further installation steps are necessary. If you use a version of Python from python.org or a version of Python that came with your operating system, the Anaconda Prompt and conda or pip can be used to install NumPy.


1 Answers

You should be able to install NumPy with pip now:

pip install numpy

Or with Conda:

conda install numpy

As for the difference between easy_install and pip, easy_install came first. People in the Python community had a difference of opinions and pip was born. Pip is basically just an alternative to easy_install. See the following for a good comparison of the two:

  • https://packaging.python.org/en/latest/pip_easy_install.html
like image 173
Mike Driscoll Avatar answered Sep 22 '22 12:09

Mike Driscoll