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

can't build pycario on google colab #28

Closed
FrankHui opened this issue Mar 10, 2021 · 3 comments
Closed

can't build pycario on google colab #28

FrankHui opened this issue Mar 10, 2021 · 3 comments

Comments

@FrankHui
Copy link

Hi, I run pip3 install jupyter_manim, everything is installed successfully but below

Building wheels for collected packages: pycairo
Building wheel for pycairo (PEP 517) ... error
ERROR: Failed building wheel for pycairo
Running setup.py clean for pycairo
Failed to build pycairo
ERROR: Could not build wheels for pycairo which use PEP 517 and cannot be installed directly

I've checked travis.yml, which I guess what "pip3 install jupyter_manim" follow. Google colab provide linux vm so I think it shouldn't install pycario?

Anyway, Should I run command line by line like this

@krassowski
Copy link
Owner

This looks like Google Colab user support query - sorry it looks I cannot help with this one!

@pwichmann
Copy link

Just add this to colab before you pip install pycairo:

# Required for pycairo
!sudo apt install libcairo2-dev pkg-config python3-dev

I know I am a year late but maybe someone else googles this problem.

@sugatoray
Copy link

There is another resource on the same. It basically references the previous comment and states that the said solution works.

🔥 I have personally tried this on colab, and can confirm that it works.

# Required for pycairo
! sudo apt install libcairo2-dev pkg-config python3-dev
! pip install pycairo

cc: @pwichmann Thank you. 🚀

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

4 participants