I am trying to import this:
from colormath.color_objects import RGBColor
and I am getting this error:
ImportError: cannot import name 'RGBColor'
I am using Python 3.6 and the library colormath is installed.
I am trying to import this:
from colormath.color_objects import RGBColor
and I am getting this error:
ImportError: cannot import name 'RGBColor'
I am using Python 3.6 and the library colormath is installed.
Copyright © 2021 Jogjafile Inc.
RGBColor
is a removed class from an old version of colormath.From the v2.0.1 release notes (2014):
And if you check the current documentation, you'll see there is indeed no
RGBColor
. TrysRGBColor
instead.