I just build a pc and I have been trying to install matplotlib on it using pip, but for some reason I keep getting this error
Command "python setup.py egg_info" failed with error code 1
I am on windows 10, using python 2.7 and I use
pip install matplotlib
Has this happened to anyone else, and what do I need to do to fix it? It also does this when I try to install pandas as well.
Thanks!
You might not have installed setuptools correctly, or it may not be upgraded. Try this first
pip install --upgrade setuptools
And then, try with pip, or sometimes pip2/3 also might work.
pip install matplotlib
pip2 install matplotlib
On another note, you should really try to search your error before you post a question, since this has happened before, Python pip install gives "Command "python setup.py egg_info" failed with error code 1"
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