Manim: import cairo problem

Created on 9 Sep 2018  路  5Comments  路  Source: 3b1b/manim

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

Most helpful comment

should be pip install pycairo @Sir-Teo https://pypi.org/project/pycairo/

All 5 comments

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/

Was this page helpful?
0 / 5 - 0 ratings