Skip to content Skip to sidebar Skip to footer

Colour Methods Not Accessible After Pip Install Of Colour-science

Executed the following commands: !pip install -q colour-science !pip install -q matplotlib # Uncomment the following lines for the latest develop branch content. !pip uninstall -y

Solution 1:

This method to install Colour is that we use for our Google Colab environments and should not be used on personal machines. My guess is that you did a pip install colour instead of pip install colour-science.

You should instead create a Virtual Environment and install everything there. We use poetry but assuming you have virtualenv only:

virtualenv oklabtests
source oklabtests/bin/activate
pip3 install git+https://github.com/colour-science/colour@develop

Also worth noting that the main repo is available at https://github.com/colour-science/colour.

Solution 2:

Try installing this & ten check

  pip3 install git+https://github.com/crowsonkb/colour@JMh

If you still get error please let me know

Post a Comment for "Colour Methods Not Accessible After Pip Install Of Colour-science"