[Slackbuilds-users] python-colour (0.1.5) missing colour.py

KB_SBo sbo at linuxgalaxy.org
Thu Jul 24 22:14:02 UTC 2025


Hello

Upgrading polychromatic and openrazer, I run into this issue when trying 
to run polychromatic-{cli,controller} etc.

$ polychromatic-controller
Traceback (most recent call last):
   File "/usr/bin/polychromatic-controller", line 39, in <module>
     from polychromatic.base import PolychromaticBase
   File "/usr/lib64/python3.9/site-packages/polychromatic/base.py", line 
8, in <module>
     from .middleman import Middleman
   File "/usr/lib64/python3.9/site-packages/polychromatic/middleman.py", 
line 14, in <module>
     from .backends._backend import Backend
   File 
"/usr/lib64/python3.9/site-packages/polychromatic/backends/_backend.py", 
line 18, in <module>
     from ..fx import FX
   File "/usr/lib64/python3.9/site-packages/polychromatic/fx.py", line 
16, in <module>
     import colour
ModuleNotFoundError: No module named 'colour'

$ locate colour.py
/usr/lib/python3.9/site-packages/samba/colour.py
/usr/lib64/python3.9/site-packages/samba/colour.py


python-colour (a dependency) does not appear to include a colour.py in 
the created package.

...
patching file setup.cfg
patching file setup.py
Missing version information: running './autogen.sh'...
running install
running build
running install_egg_info
running egg_info
creating colour.egg-info
writing colour.egg-info/PKG-INFO
writing dependency_links to colour.egg-info/dependency_links.txt
writing requirements to colour.egg-info/requires.txt
writing top-level names to colour.egg-info/top_level.txt
writing manifest file 'colour.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE'
writing manifest file 'colour.egg-info/SOURCES.txt'
Copying colour.egg-info to 
/tmp/SBo/package-python-colour/usr/lib64/python3.9/site-packages/colour-0.1.5-py3.9.egg-info
running install_scripts

Slackware package maker, version 3.14159265.

Searching for symbolic links:

No symbolic links were found, so we won't make an installation script.
You can make your own later in ./install/doinst.sh and rebuild the
package if you like.

This next step is optional - you can set the directories in your package
to some sane permissions. If any of the directories in your package have
special permissions, then DO NOT reset them here!

Would you like to reset all directory permissions to 755 (drwxr-xr-x) and
directory ownerships to root.root ([y]es, [n]o)? n


Creating Slackware package:  /tmp/python-colour-0.1.5-x86_64-2_SBo.tgz

./
install/
install/slack-desc
usr/
usr/doc/
usr/doc/python-colour-0.1.5/
usr/doc/python-colour-0.1.5/LICENSE
usr/doc/python-colour-0.1.5/README.rst
usr/doc/python-colour-0.1.5/python-colour.SlackBuild
usr/lib64/
usr/lib64/python3.9/
usr/lib64/python3.9/site-packages/
usr/lib64/python3.9/site-packages/colour-0.1.5-py3.9.egg-info/
usr/lib64/python3.9/site-packages/colour-0.1.5-py3.9.egg-info/PKG-INFO
usr/lib64/python3.9/site-packages/colour-0.1.5-py3.9.egg-info/SOURCES.txt
usr/lib64/python3.9/site-packages/colour-0.1.5-py3.9.egg-info/dependency_links.txt
usr/lib64/python3.9/site-packages/colour-0.1.5-py3.9.egg-info/not-zip-safe
usr/lib64/python3.9/site-packages/colour-0.1.5-py3.9.egg-info/requires.txt
usr/lib64/python3.9/site-packages/colour-0.1.5-py3.9.egg-info/top_level.txt

Slackware package /tmp/python-colour-0.1.5-x86_64-2_SBo.tgz created.


-Ed






More information about the SlackBuilds-users mailing list