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
.
NumPy can be installed with conda , with pip , with a package manager on macOS and Linux, or from source.
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.
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:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With