Closed Windabove closed 3 years ago
Can you try upgrading setuptools
? This looks like a problem with either python itself or with conda. Are you able to install any other C extensions from the source?
Can you try upgrading
setuptools
? This looks like a problem with either python itself or with conda. Are you able to install any other C extensions from the source?
I've successfully built ManimPango(PEP 517) after I had manually executed
pip install -r requirement.txt
under the directory cloned from 3b1b/manim
In addition, this error has also occured when I run pip install -e .
as the guide said in 3b1b/manim
Definitely this issue has something to do with the dependencies of manim. I suppose there are some source files need to be recompiled or updated.
I've successfully built ManimPango(PEP 517) after I had manually executed
Good to know.
Definitely this issue has something to do with the dependencies of manim. I suppose there are some source files need to be recompiled or updated.
That is something you should report to Manim's repository and not here. You can simply install ManimPango using pip and it will do the compiling work directly, so I don't think this is a ManimPango's issue.
Also, a quick question, did you change your python installation or rather Conda venv? Maybe that Conda venv was broken or something, I suspect that?
But the same issue happened when building ManimPango directly from this repository.
The python installation has not been changed after I create a new Conda venv with python3.8, and it seems to work well now, so it may not be the problem of Conda venv or Python.
By the way, the error report mentioned unsupported GNU_PROPERTY_TYPE (5) type
, maybe something was wrong with the linux kernel 5.11.8?
But the same issue happened when building ManimPango directly from this repository.
Could you post the logs?
By the way, the error report mentioned unsupported GNU_PROPERTY_TYPE (5) type, maybe something was wrong with the linux kernel 5.11.8?
Sorry, my knowledge about them is so poor.
The python installation has not been changed after I create a new Conda venv with python3.8, and it seems to work well now, so it may not be the problem of Conda venv or Python.
Maybe simply the previous venv was broken? Because it works now, but it didn't before?
The error report I posted is exactly of this repository.
Maybe simply the previous venv was broken? Because it works now, but it didn't before?
I created a new venv and tried again, but the same happened as well before pip install -r requirements.txt
So ManimPango installs only when it is installed using requirements.txt
and not otherwise? See that file in that repo I got no idea why this fails.
Can you simply try, pip install manimpango
in a new venv?
Oh, I understand a bit now about what is happing here.
I think this is because of mix of Conda's Python and System libraries. Maybe try with system python?
Maybe Conda's Python and Sytem Libraries, like Pango aren't compatible? Simply, try conda install -c conda-forge pango
, https://anaconda.org/conda-forge/pango and then try running pip install manimpango
or build from source from this repo?
See if that fix?
Yes, I found manimpango is installed in system's site-packages.
When I run pip
it will run the system's pip but not the one of the conda env
And after I switched to the env's pip, the problem is fixed. So it is indeed the problem of Conda env.
Closing the issue as it is fixed.
OS configuration: