Failed to install “Cairocffi”

后端 未结 3 868
有刺的猬
有刺的猬 2021-02-14 17:32

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:07

    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:13

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

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

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

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