Python matplotlib install issue on Windows 7 for freetype, png packages

前端 未结 8 1096
梦谈多话
梦谈多话 2020-12-16 12:46

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.

         


        
相关标签:
8条回答
  • 2020-12-16 12:59

    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.

    0 讨论(0)
  • 2020-12-16 13:03

    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
    
    0 讨论(0)
  • 2020-12-16 13:08

    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

    0 讨论(0)
  • 2020-12-16 13:09

    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.

    0 讨论(0)
  • 2020-12-16 13:10

    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

    0 讨论(0)
  • 2020-12-16 13:11

    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

    0 讨论(0)
提交回复
热议问题