问题遇到的现象和发生背景
刚安装好manim,全程按照https://docs.manim.org.cn/安装,然后试了一下官方文档的入门教程的代码,结果一试就出问题了
问题相关代码
from manimlib import *
class SquareToCircle(Scene):
def construct(self):
square= Square()
square.set_fill(RED)
square.rotate(PI / 4)
self.add(square)
运行结果
运行结果就是那个方形一直不显示,但是我画圆形的时候是没有问题的,也是add(cirle)
全程的提示信息:
[18:11:00] INFO Using the default configuration file, which you can modify in `c:\users\cbice\manim\manimlib\default_config.yml` config.py:316
INFO If you want to create a local configuration file, you can create a file named `custom_config.yml`, or run `manimgl --config` config.py:317
WARNING You may be using Windows platform and have not specified the path of `temporary_storage`, which may cause OSError. So it is config.py:283 recommended to specify the `temporary_storage` in the config file (.yml)
INFO Tips: You are now in the interactive mode. Now you can use the keyboard and the mouse to interact with the scene. Just press scene.py:141 `command + q` or `esc` if you want to quit.
(process:18884): GLib-GIO-WARNING **: 18:11:01.083: Unexpectedly, UWP app `DellInc.DellSupportAssistforPCs_3.10.7.0_x64__htrsf667h5kn2' (AUMId `DellInc.DellSupportAssistforPCs_htrsf667h5kn2!App') supports 1 extensions but has no verbs
(process:20448): GLib-GIO-WARNING **: 18:11:02.867: Unexpectedly, UWP app `DellInc.DellSupportAssistforPCs_3.10.7.0_x64__htrsf667h5kn2' (AUMId `DellInc.DellSupportAssistforPCs_htrsf667h5kn2!App') supports 1 extensions but has no verbs
我的写法和文档里的一模一样,但是就是运行不了。求解答T-T