ModuleNotFoundError: No module named 'ldm.models.diffusion.dpm_solver'

 

If you get this error:

ModuleNotFoundError: No module named 'ldm.models.diffusion.dpm_solver'

In Linux, add the path to stablediffusion to the Python path:

export PYTHONPATH=$PYTHONPATH:/home/user/stablediffuion

Show Comments