No module named 'colour'

See original GitHub issue

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.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:2
  • Comments:8

github_iconTop GitHub Comments

7reactions
eulertourcommented, Nov 28, 2018

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

0reactions
mpwolkencommented, Jul 4, 2022

There are multiple colour packages - I believe the correct one will be this: https://www.colour-science.org/installation-guide/. Testing now, but the pip install colour installed a colour.py that did not have the requisite functions such as read_LUT.

EDIT: Yes, this resolved the issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

ModuleNotFoundError: No module named 'colour' python
I'm using Tkinter on MacOS and its libraries are a little broken, so there is an extension called tkmacosx that fixes many bugs....
Read more >
ModuleNotFoundError: No module named 'color'
Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'color' How to remove the ModuleNotFou.
Read more >
colour - PyPI
Damn simple and pythonic way to manipulate color representation (see examples below) · Full conversion between RGB, HSL, 6-digit hex, 3-digit hex, human...
Read more >
No module named 'colour' in QGIS Python Console
Any advice on how to import the colour module in QGIS successfully? C:\WINDOWS\system32>python Python 3.7.0 (v3.7.0:1bf9cc5093, ...
Read more >
How to use color-science with Python in Anaconda?
GOOGLE colour-science. pip install colour-science ... line 30, in import matplotlib ModuleNotFoundError: No module named 'matplotlib'(XXXXX other name) ].
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found