SORL-thumbnail import error in Django project
Asked Answered
M

1

6

I've installed SORL-thumbnail through pip. When I try to import it in the Python shell it's OK, but if I add this to INSTALLED_APPS I get:

ImportError (No module named SORL)

Medorra answered 4/5, 2015 at 13:24 Comment(3)
What exactly are you adding to INSTALLED_APPS?Gibert
The module name ("sorl", here) will be case-sensitive. Are you attempting to import the module in uppercase ("SORL")? If that's not it, let's see the full traceback.Tithing
might be useful for other readers. that target virtualenv might not be activatedThermoluminescence
B
1
pip install sorl-thumbnail

Worked to me.

Notice that this package seems to have been published with a typo on the name.

Bulgar answered 18/4, 2020 at 17:24 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.