Closed pterusgithub closed 6 months ago
Are you sure apt install python3-dev
ran successfully? I've just tried in a new 22.04-container:
% docker run -it --rm ubuntu:22.04 bash
root@bdaf95e9fd7c:/# ...
root@bdaf95e9fd7c:/# history
1 apt update && apt upgrade
2 apt install build-essential python3-dev libcairo2-dev libpango1.0-dev ffmpeg
3 apt install python3-pip
4 pip install manim
5 history
and did not run into issues with building the manimpango wheel. Cannot reproduce your issue. What is the output of pip3 -V
?
hello
I 've tried your command to be sure :
build-essential est déjà la version la plus récente (12.9ubuntu3).
libcairo2-dev est déjà la version la plus récente (1.16.0-5ubuntu2).
libpango1.0-dev est déjà la version la plus récente (1.50.6+ds-2ubuntu1).
python3-dev est déjà la version la plus récente (3.10.6-1~22.04).
ffmpeg est déjà la version la plus récente (7:4.4.2-0ubuntu0.22.04.1).
python3-pip est déjà la version la plus récente (22.0.2+dfsg-1ubuntu0.4).
$ pip install manim
[...]
Building wheels for collected packages: manimpango, pycairo
Building wheel for manimpango (pyproject.toml) ... error
error: subprocess-exited-with-error
[...]
/tmp/pip-install-0hjarea5/manimpango_4520ad6bcd80445e918d233912aaeb9d/manimpango/cmanimpango.c:83:10: fatal error: Python.h: Aucun fichier ou dossier de ce nom
83 | #include "Python.h"
pip3 -V
pip 24.0 from /[...]/.local/lib/python3.11/site-packages/pip (python 3.11)
My bad the problem came from a bad choice of pip version while installing manim.
Preliminaries
Description of error
I've tried to install manimgl on ubuntu 22.04.4 LTS
but I've got this error (no file or directory):
Installation logs
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.4 LTS - Python version (`python/py/python3 --version`): Python 3.10.12 - Installed modules (provide output from `pip list`): ``` Package Version ------------------ --------- autopep8 1.6.0 blinker 1.7.0 certifi 2021.10.8 charset-normalizer 2.0.10 click 8.1.7 Cython 0.29.30 debugpy 1.8.1 Flask 3.0.3 idna 3.3 itsdangerous 2.2.0 Jinja2 3.1.3 MarkupSafe 2.1.5 numpy 1.24.3 pip 24.0 pycodestyle 2.8.0 requests 2.27.1 setuptools 69.5.1 toml 0.10.2 urllib3 1.26.8 Werkzeug 3.0.2 wheel 0.43.0 zstandard 0.16.0 ```LaTeX details
+ LaTeX distribution (e.g. TeX Live 2020): TeX Live 2022 + Installed LaTeX packages:Additional comments