colour icon indicating copy to clipboard operation
colour copied to clipboard

Collision in package name with colour-science

Open hop-soellingeraj opened this issue 2 years ago • 1 comments

There is a collision in package name, both have package name == colour This package and https://www.colour-science.org/installation-guide/

If the latter is installed in the PYTHONPATH, all attempts to import from colour import Color will fail.

hop-soellingeraj avatar Aug 02 '22 19:08 hop-soellingeraj

Because we, colour-science/colour are a package and vaab/colour is a module, we take precedence as packages are imported first. I'm thinking to solve this issue by importing vaab/colour into our namespace if it is present on sys.path. It is admittedly gross but this should fix the issues people are having.

KelSolaar avatar Nov 07 '23 05:11 KelSolaar