Can't install Matplotlib in python 3.7

Zahid Uan Nabi picture Zahid Uan Nabi · Feb 16, 2018 · Viewed 15.5k times · Source

For install matplotlib in windows 10 64 bit machine get error showing

python setup.py egg_info" failed with error code 1 in C:\Users\Animus\AppData\Local\Temp\pip-build-urqbuxb_\unroll\

please help

Answer

phyyyl picture phyyyl · Feb 16, 2018

Forst of all make sure you have pip working. To install pip please follow the link Pip install and then update the setup And try:

python -mpip install -U pip
python -mpip install -U matplotlib  

and if does not work then use following

pip install --upgrade setuptools