Failed to install “Cairocffi”

后端 未结 3 1121
野的像风
野的像风 2021-02-14 18:03

I\'m working with python3, and i\'m trying to install \" cairocffi\" on Ubuntu. To do this, i\'ve successfully installed:

  1. python-dev
  2. libf
3条回答
  •  无人及你
    2021-02-14 18:21

    I ran into this today as well. Are you working through the Real Python course?

    Anyway, to fix the problem, I installed the python 3 version of python-dev:

    sudo apt-get install python3-dev
    sudo apt-get install libffi-dev
    sudo pip3 install cffi
    sudo pip3 install cairocffi
    

    Hope this helps!

提交回复
热议问题