Manim: No module named 'colour'

Created on 11 Oct 2018  路  6Comments  路  Source: 3b1b/manim

As I run the command python extract_scene.py example_scenes.py SquareToCircle -pl., the error message said

Traceback (most recent call last):
  File "extract_scene.py", line 15, in <module>
    from scene.scene import Scene
  File "/manim/scene/scene.py", line 15, in <module>
    from animation.animation import Animation
  File "/manim/animation/animation.py", line 5, in <module>
    from mobject.mobject import Mobject
  File "/manim/mobject/mobject.py", line 9, in <module>
    from colour import Color
ModuleNotFoundError: No module named 'colour'

But when I check with pip install color, the terminal says that request already satisfied.

Most helpful comment

You can fix this by installing the colour package: pip install colour.

All 6 comments

Did you find a fix because I'm experiencing this problem as well
@Sir-Teo

sorry I haven't find a fix

Open the module named color, inside "master\utils\color.py".
Then go to line 4 and change;

from color import Color

TO

from colour import Color

You can fix this by installing the colour package: pip install colour.

im having this problem too.

Try pip3 install colour

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Planeuge picture Planeuge  路  6Comments

ZQiu233 picture ZQiu233  路  3Comments

BhupalaSriHari picture BhupalaSriHari  路  5Comments

Glidos picture Glidos  路  5Comments

OGALI picture OGALI  路  3Comments