2

pip cannot install matplotlib. Why won't it work?

It just hangs when I do pip install matplotlib.

Collecting matplotlib
  Using cached matplotlib-1.5.1.tar.gz

The workaround to finally get it installed was to download the archive from sourceforge. I'm going to try it again to verify that there is a problem with the package.

enter image description here

1 Answers1

0

I had this issue and I have just figured it out, try installing the dependencies manually first

cycler>=0.10       
kiwisolver>=1.0.1  
python-dateutil>=2.7 
numpy>=1.16        
pillow>=6.2.0       
pyparsing>=2.2.1   
six 

For me it was on an armv7 architecture and I was installing from requirements.txt and it would hang on the installation of matplotlib but when I commented out matplotlib and installed everything else from the requirements.txt including the above listed libs it doesn't hang anymore.

sjjk001
  • 1
  • 1