rhsimplex / image-match

🎇 Quickly search over billions of images
2.94k stars 405 forks source link

Problem install module, cairocffi #42

Closed jtara1 closed 8 years ago

jtara1 commented 8 years ago

I had this issue, but have now found a solution.

OS: Ubuntu 16.04 Python 3.5.2

While installing the the needed modules, I ran into a version mismatch error after entering

sudo pip3 install cairocffi

I got

AssertionError: version mismatch, 1.5.2 != 1.8.3

Full error message from pip install


Solution

Downgrade cffi to previous version and attempt to install cairocffi again.

sudo pip3 uninstall cffi
sudo pip3 install cffi==1.5.2
sudo pip3 install cairocffi