Open adust09 opened 2 years ago
What worked for me was
pip uninstall setuptools
pip install setuptools
pip install cairo-lang
Originally I managed to install cairo-lang without problem on Python 3.10 but I had to create a virtualenv with a lower version because the API of the collections
module has changed with 3.10 and cairo-compile depends on the older version.
I tried this page https://www.cairo-lang.org/docs/quickstart.html
but I failed
pip3 install cairo-lang
environment
Python 3.7.13 Mac OS Montery(v12.3) Applle Silicon
error message
what I did upgrade setuptools by this
pip3 install --upgrade setuptools
-> did't work wellnext, I try to downgrade python version, but it can't work any versions... (Ignore this issue as I don't think it is directly related to cairo.)
If you were able to install cairo-lang on another Python 3.7 series, I would appreciate it if you could tell me the version.
for example v 3.7.5