manim
manim copied to clipboard
Don't work on Windows (window with the animation seems blank)
Describe the error
When I try to use on Windows, it seems work at the begining, but when the window with normaly the animation opens, this window is just blank, with nothing. I tested with manimgl example_scenes.py OpeningManimExample
and the code from the tutorial in the docs (Quick Start - manim documentation), the same. I also tried with the flag -o
to make an output, and the output seems empty.
Code and Error
Code:
The example_scenes.py
file, then this code from the docs:
from manimlib import *
class SquareToCircle(Scene):
def construct(self):
circle = Circle()
circle.set_fill(BLUE, opacity=0.5)
circle.set_stroke(BLUE_E, width=4)
square = Square()
self.play(ShowCreation(square))
self.wait()
self.play(ReplacementTransform(square, circle))
self.wait()
Error:
Firstly, I tried only the command in the README.md
and I had this error:
ManimGL v1.6.1
[00:49:28] INFO Using the default configuration file, which you can modify in `c:\dcmt\manim\manimlib\default_config.yml` config.py:362 INFO If you want to create a local configuration file, you can create a file named `custom_config.yml`, or run `manimgl config.py:363 --config`
[00:49:29] WARNING You may be using Windows platform and have not specified the path of `temporary_storage`, which may cause OSError. config.py:327 So it is recommended to specify the `temporary_storage` in the config file (.yml)
[00:49:31] WARNING You may be using Windows platform and have not specified the path of `temporary_storage`, which may cause OSError. config.py:327 So it is recommended to specify the `temporary_storage` in the config file (.yml)
[00:50:29] INFO Using the default configuration file, which you can modify in `c:\dcmt\manim\manimlib\default_config.yml` config.py:362 INFO If you want to create a local configuration file, you can create a file named `custom_config.yml`, or run `manimgl config.py:363 --config`
[00:50:30] WARNING You may be using Windows platform and have not specified the path of `temporary_storage`, which may cause OSError. config.py:327 So it is recommended to specify the `temporary_storage` in the config file (.yml)
So I set temporary_storage
to the value of %temp%
: C:/Users/user/AppData/Local/Temp
, and now I have only this error:
ManimGL v1.6.1
[01:10:21] INFO Using the default configuration file, which you can modify in `c:\dcmt\manim\manimlib\default_config.yml` config.py:362
INFO If you want to create a local configuration file, you can create a file named `custom_config.yml`, or run `manimgl config.py:363
--config`
[01:10:29] INFO Using the default configuration file, which you can modify in `c:\dcmt\manim\manimlib\default_config.yml` config.py:362
INFO If you want to create a local configuration file, you can create a file named `custom_config.yml`, or run `manimgl config.py:363
--config`
But I don't see anything in the window: the window is blank.
Environment
OS System: Windows 11 manim version: master 1.6.1 python version: 3.11.1