Skip to content

Add Debian dependencies required for pycairo and manimpango #3044

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

Merged
merged 2 commits into from
Nov 29, 2022

Conversation

kjlubick
Copy link
Contributor

Without these packages, using poetry install fails installing the pycairo and manimpango packages because there is no C++ compiler nor python headers to compile parts of those packages.

Overview: What does this pull request change?

I needed these instructions when setting up a dev environment on Linux (technically the Linux on Windows subsystem, but it probably is needed for normal Debian/Ubuntu as well).

Reviewer Checklist

  • The PR title is descriptive enough for the changelog, and the PR is labeled correctly
  • If applicable: newly added non-private functions and classes have a docstring including a short summary and a PARAMETERS section
  • If applicable: newly added functions and classes are tested

kjlubick and others added 2 commits November 26, 2022 05:52
Without these packages, using `poetry install` fails on pycairo and manimpango because there is no C++ compiler nor headers to compile parts of those packages.
Copy link
Member

@behackl behackl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested with a clean minimal Python3.10 base image (docker run --rm -it python:3.10-slim /bin/bash), build-essential was indeed required. It did work without separately installing python3-dev, but that is likely because the image already had the dev headers included.

I don't think there is any harm in adding python3-dev as well.

@behackl behackl merged commit 5bc4bc0 into ManimCommunity:main Nov 29, 2022
@behackl behackl added the documentation Improvements or additions to documentation label Nov 30, 2022
@naveen521kk naveen521kk changed the title [docs] Add Debian dependencies required for pycairo and manimpango Add Debian dependencies required for pycairo and manimpango Dec 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants