Pip install Matplotlib error with virtualenv

后端 未结 11 743
心在旅途
心在旅途 2020-11-29 15:58

I am trying to install matplotlib in a new virtualenv.

When I do:

pip install matplotlib

or

pip install http://so         


        
11条回答
  •  心在旅途
    2020-11-29 16:17

    To generate graph in png format you need to Install following dependent packages

    sudo apt-get install libpng-dev
    sudo apt-get install libfreetype6-dev
    

    Ubuntu https://apps.ubuntu.com/cat/applications/libpng12-0/ or using following command

    sudo apt-get install libpng12-0
    

提交回复
热议问题