ManimGL 运行出现 ValueError: operands could not be broadcast together with shapes (24,3) (0,3)

问题描述

ManimGL 运行出现 ValueError: operands could not be broadcast together with shapes (24,3) (0,3)

命令

manimgl start.py SquareToCircle

源码

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) # 设置圆的边框颜色和宽度

    self.add(circle)  # 将圆添加到场景中
    self.wait(1)  # 等待1秒钟,以便可以观察动画

详细错误信息

PS F:\360MoveData\Users\A\Desktop\code\普通编程\python\动画\t> manimgl start.py SquareToCircle
ManimGL v1.6.1
[13:26:44] INFO     Using the default configuration file, which you can modify in `f:\360movedata\users\a\desktop\code\普通编程\python\动画\t\v\lib\site-packages\manimlib\default_config.yml`               config.py:265           INFO     

你可能感兴趣的:(python,numpy,pip)