Failed to install “Cairocffi”

后端 未结 3 1107
野的像风
野的像风 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!

    0 讨论(0)
  • 2021-02-14 18:32

    install the libffi-dev package can fix this problem simply run sudo apt install libffi-dev

    0 讨论(0)
  • 2021-02-14 18:34

    My problem is fixed by installing a specific version of cairocffi (version = 0.6)

    pip install cairocffi==0.6
    
    0 讨论(0)
提交回复
热议问题