-
I'm trying to run manim in debug mode in PyCharm. I read the discussion here and here and tried to adapt it to Manim community version but I get the following errors:
In fact the files Any advice would be appreciated... Thanks, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I find it easiest to debug animations by running them as pure Python files. That is, I have a file like from manim import *
class SquareToCircle(Scene):
def construct(self):
s = Square()
c = Circle()
self.add(s)
self.play(Transform(s, c))
with tempconfig({"quality": "medium_quality"}):
scene = SquareToCircle()
scene.render() and then I use the default Python debugger on it. Make sure the directory containing your code does not contain a directory "manim", otherwise things will break. Personally, I put my files in the example_scenes directory before running them. |
Beta Was this translation helpful? Give feedback.
I find it easiest to debug animations by running them as pure Python files. That is, I have a file like
and then I use the default Python debugger on it. Make sure the directory containing your code does not contain a directory "manim", otherwise things will break. Personally, I put my files in the example_scenes directory before running them.