ImportError: cannot import name 'CannyDetector' from 'controlnet_aux'

ubuntu server 22
ImportError: cannot import name ‘CannyDetector’ from ‘controlnet_aux’ (/home/kris/anaconda3/lib/python3.10/site-packages/controlnet_aux/init.py)

HI Kristian,

Can you provide more context here? The output of conda info and conda list might be helpful.

How was controlnet_aux installed? If controlnet_aux was installed by some method other than conda (e.g. pip) then this could be a pip packaging problem.

Cheers,
Dave C