The tutorial start.py cannot be executed properly
Describe the error
I am using the the code given as an example at https://3b1b.github.io/manim/getting_started/quickstart.html (SquareToCircle class). Those 9 lines of code are saved in G:\toto\start.py. I launch this in Anaconda prompt with python 3.12 activated. I installed ffmpeg and added to PATH, I then ran pip install manimgl. Note that the install structure is different from the one shown at this page, after running pip install manimgl I have :
manimlib/ │ ├── animation/ │ ├── ... │ ├── default_config.yml │ └── window.py ├── custom_config.yml
Also, note that running manimgl alone, I have a grey window that is not responding, and typing anything in the console does nothing.
Code and Error
The command I execute is the following, with the command output and the error following
Code:
(py312) C:\Users\blabla>manimgl "G:\toto\start.py" SquareToCircle
ManimGL v1.6.1
[21:09:43] INFO Using the default configuration file, which you can modify in config.py:265
c:\users\blabla\anaconda3\envs\py312\lib\site-packages\manimlib\default_config.yml
INFO If you want to create a local configuration file, you can create a file named config.py:266
custom_config.yml, or run manimgl --config
Error:
Traceback (most recent call last):
File "
Environment
OS System: Win 11 manim version: master python version: 3.12
3.10 is working for now, I got the same issue. Major issue with numpy library, version conflict.
You need to downgrade the numpy version:
"numpy~=1.24",