3b1b / 3b1b/manim

Don't work on Windows (window with the animation seems blank)

オープン
#2,102 コメント 6 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Python
スター
93.8k
フォーク
7.7k
PR マージ指標
PR 指標を取得中

説明

### 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](https://3b1b.github.io/manim/getting_started/quickstart.html)), 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

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。