Code Monkey home page Code Monkey logo

Comments (11)

Windabove avatar Windabove commented on May 14, 2024 1

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

from manimpango.

naveen521kk avatar naveen521kk commented on May 14, 2024

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?

from manimpango.

Windabove avatar Windabove commented on May 14, 2024

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.

from manimpango.

naveen521kk avatar naveen521kk commented on May 14, 2024

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?

from manimpango.

Windabove avatar Windabove commented on May 14, 2024

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?

from manimpango.

naveen521kk avatar naveen521kk commented on May 14, 2024

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?

from manimpango.

Windabove avatar Windabove commented on May 14, 2024

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

from manimpango.

naveen521kk avatar naveen521kk commented on May 14, 2024

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?

from manimpango.

naveen521kk avatar naveen521kk commented on May 14, 2024

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?

from manimpango.

Windabove avatar Windabove commented on May 14, 2024

And after I switched to the env's pip, the problem is fixed.
So it is indeed the problem of Conda env.

from manimpango.

naveen521kk avatar naveen521kk commented on May 14, 2024

Closing the issue as it is fixed.

from manimpango.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.