Fix the issue. in my case (finding delta_e) I just went to the package address (~\anaconda3\lib\site-packages\colormath\color_diff.py) and edited color_diff.py in a way that each line with: return numpy.asscalar(delta_e)
become replaced by: return delta_e.item()
. Notice there were 4 matches in my file.