Problem installing ManimCE 0.11.0 on Linux Mint 20.1 #2234
-
I just tried to install the current version of ManimCE (0.11.0) on my Linux Mint 20.1 Ulyssa, following official instructions (https://docs.manim.community/en/stable/installation/linux.html) Installation process seems to go fine but when I try to execute the standard "first scene" example (as suggested here: https://docs.manim.community/en/stable/tutorials/quickstart.html#your-first-scene ), I get this error: ImportError: /home/alex/anaconda3/lib/python3.7/site-packages/cairo/_cairo.cpython-37m-x86_64-linux-gnu.so: undefined symbol: cairo_svg_surface_set_document_unit I found this article, that suggest to use pycairo 1.11.1: So, I tried to install pycairo 1.19. I got this new error: I also tried to install the whole stuff inside an Anaconda container and it did not work either. How can I install ManimCE on Linux Mint? (I would like NOT to use a Docker container for experimenting with ManimCE). |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Usually problems like that are caused by cairo being picked up from within anaconda instead of from the system itself, which tends to cause problems. See this answer on StackOverflow for instructions how to use |
Beta Was this translation helpful? Give feedback.
Usually problems like that are caused by cairo being picked up from within anaconda instead of from the system itself, which tends to cause problems.
See this answer on StackOverflow for instructions how to use
ldd
to see which version of cairo (or pango, in your second attempt) is actually used.