import cairo
File "/anaconda3/lib/python3.6/site-packages/cairo/__init__.py", line 1, in
from ._cairo import * # noqa: F401,F403
ImportError: dlopen(/anaconda3/lib/python3.6/site-packages/cairo/_cairo.cpython-36m-darwin.so, 2): Symbol not found: _cairo_tee_surface_add
Referenced from: /anaconda3/lib/python3.6/site-packages/cairo/_cairo.cpython-36m-darwin.so
Expected in: flat namespace
in /anaconda3/lib/python3.6/site-packages/cairo/_cairo.cpython-36m-darwin.so
macOS 10.13.2
anaconda python3.6
I am having this issue right now too.
I install another python3.7 and it works. From 'www.python.org', not anaconda.
@WeiruLin Can this issue be closed?
I don't think there is a package called "cairo", because you can't run pip install cairo, there are just no packages named cairo. I run with python 3.7
should be pip install pycairo @Sir-Teo https://pypi.org/project/pycairo/
Most helpful comment
should be
pip install pycairo@Sir-Teo https://pypi.org/project/pycairo/