I\'m working with python3, and i\'m trying to install \" cairocffi\" on Ubuntu. To do this, i\'ve successfully installed:
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!
install the libffi-dev package can fix this problem
simply run sudo apt install libffi-dev
My problem is fixed by installing a specific version of cairocffi (version = 0.6)
pip install cairocffi==0.6