Git Product home page Git Product logo

Comments (7)

MathItYT avatar MathItYT commented on June 13, 2024

Hi! I'm aware of this. The problem comes from an incompatibility with new features from Python 3.12. A solution could be installing Python 3.12 in Ubuntu. Never delete your original Python installation! You must only install the new version, keeping the current one. Open a terminal and run these commands in order:
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt update
sudo apt install python3.12
Then, uninstall Manim Studio from your older environment and install virtualenv with pip3.12 install virtualenv.
Go to your workspace folder and create a new virtualenv with:
python3.12 -m virtualenv .venv
After that, run in the same folder:
source .venv/bin/activate
Finally, with the environment activated, run:
pip3.12 install manim-studio
And run manim-studio in that environment.

Tell me what's going on now :)

from manim-studio.

midiisc avatar midiisc commented on June 13, 2024

I tried but we have new error.

qt.qpa.plugin: From 6.5.0, xcb-cursor0 or libxcb-cursor0 is needed to load the Qt xcb platform plugin.
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: wayland, xcb, wayland-egl, vnc, offscreen, linuxfb, minimalegl, eglfs, vkkhrdisplay, minimal.

Aborted (core dumped)

from manim-studio.

MathItYT avatar MathItYT commented on June 13, 2024

This is mostly caused by having two differents versions of PyQt6 and PyQt6-Qt6. Try doing pip install -U --force-reinstall PyQt6==6.6.0 and pip install -U --force-reinstall PyQt6-Qt6==6.6.0

from manim-studio.

midiisc avatar midiisc commented on June 13, 2024

That didn't work. What finally did was
sudo apt install libxcb-cursor0

Btw, I didn't install Python 3.12 globally, but inside Conda environment which is what I was using. Still worked. Is this fine?

from manim-studio.

MathItYT avatar MathItYT commented on June 13, 2024

If that worked, it should be fine.

from manim-studio.

midiisc avatar midiisc commented on June 13, 2024

Thank you

from manim-studio.

MathItYT avatar MathItYT commented on June 13, 2024

I'll close this issue. If you encounter another bug, please open an issue :)

from manim-studio.

Related Issues (4)

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.