Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImportError undefined symbol: cairo_tee_surface_index #430

Closed
kolibril13 opened this issue Feb 8, 2019 · 3 comments
Closed

ImportError undefined symbol: cairo_tee_surface_index #430

kolibril13 opened this issue Feb 8, 2019 · 3 comments

Comments

@kolibril13
Copy link
Contributor

kolibril13 commented Feb 8, 2019

I installed the manim package as described (Ubuntu 18.04):

git clone https://github.com/3b1b/manim.git
cd manim
python3 -m pip install -r requirements.txt
But when I run the line
python3 -m manim example_scenes.py SquareToCircle -pl
I receive the following error:
screenshot from 2019-02-08 21-31-25

Thank you for any ideas how to solve this.

@eulertour
Copy link
Collaborator

You probably didn't have cairo installed before you installed the requirements.

@kolibril13
Copy link
Contributor Author

Tank you for this hint.
Normally I am using anaconda, however I did not manage to install cairo in anaconda properly.
I got it now working with the following procedure:
First, I installed python3.7.
Then I installed pycairo:
python3.7 -m pip install pycairo
Afterwards the requirements:
python3.7 -m pip install -r requirements.txt
and now it is working!

@Rodroro
Copy link

Rodroro commented Jul 13, 2019

I am trying to solve the problem trying to do what is suggested, I uninstall pycairo and requirements.txt and then install them correctly (with the suggested order) but the error continues to appear and continue to appear, any help?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants