1👍
Did you checked that your Django project directories have the proper __init__.py
files? This error often is due to that.
In your src/myapp
directory, you should have a __init__.py
file, so Python will get it as a module and can import it. The same for all you other directories inside myapp/
containing Python code. If you have an ImportError
in your raven.conf
directory, probably is because you don’t have any __init__.py
file in your conf/
dir.
Source:stackexchange.com