Skip to content

Improvement on the python-dev version #3864

Closed
@JonasFovea

Description

@JonasFovea

Preliminaries

Description of error

Hi!
I followed the installation instructions but failed to pip install manim.
Some header files where missing even though I installed python3-dev.

It turns out, that it might be necessary to specifically install it for your python version.

This probably occurred, because I have several python versions installed.

So for me, installing python3.12-dev did the trick.

It might be good to mention this in the docs...

Installation logs

  /tmp/pip-install-cceed8ly/manimpango_6dbecf73f2be40eab291ac24b3aeea55/manimpango/cmanimpango.c:83:10: fatal error: Python.h: No such file or directory
     83 | #include "Python.h"
        |          ^~~~~~~~~~
  compilation terminated.
  error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
  [end of output]
Terminal output
PASTE HERE OR PROVIDE LINK TO https://pastebin.com/ OR SIMILAR

System specifications

System Details
  • OS (with version, e.g., Windows 10 v2004 or macOS 10.15 (Catalina)): Ubuntu 22.04
  • RAM:
  • Python version (python/py/python3 --version): 3.12
  • Installed modules (provide output from pip list):
PASTE HERE
LaTeX details
  • LaTeX distribution (e.g. TeX Live 2020):
  • Installed LaTeX packages:

Additional comments

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueGood for newcomersinstallationEverything concerning the installation process

    Type

    No type

    Projects

    Status

    🆕 New

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions