Using Python 2.7 on Windows 7. Here is the command I am using to install and error message. Wondering if anyone have met with similar issues before? Thanks.
I solved it by taking version 1.5.1
pip install matplotlib==1.5.1
it seems that version 1.5.2 installer is broken.
Installing the specific matplotlib version 2.2.5 worked for me on Windows 10.
The commmand to install a specific version via pip:
pip install matplotlib==2.2.5
I had the exact same issue.
Seems that my pip was v7 which is old. upgraded to v9 with the 'upgrade' button. then tried to install matplotlib again and was successful this time.
maybe this helps
I had this problem today with Python 3.8.0
and the installation was successfully with matplotlib==3.2.0rc1
after I installed freetype-py
.
http://www.lfd.uci.edu/~gohlke/pythonlibs/
Get matplotlib from above location. Choose correct package based on python(2.x/3.x) and bit(32/64) version.
32-bit 2.7: matplotlib-1.5.2-cp27-cp27m-win32.whl
64-bit 2.7: matplotlib-1.5.2-cp27-cp27m-win_amd64.whl
If you face any issues in the middle, please refer to below link: https://stackoverflow.com/a/38618044/5334188
I solved the same problem in Wİndows 10 as folowing:
1- Download the following files for win32 or win64 python3.7:
matplotlib-2.2.2-cp27-cp37m-win32.whl
or
matplotlib-2.2.2-cp27-cp37m-win_amd64.whl
from the https://www.lfd.uci.edu/~gohlke/pythonlibs/
2- By cmd console run the downloaded file under python:
.\Downloads> python -m pip install matplotlib-2.2.2-cp37-cp37m-win_amd64.whl
you can try the matplolib