Forums

ImportError: No module named 'whitenoise'

Dear All,

I try to do my first Python/Django project and I can't solve one issue. All tips which I found here didn't help.

I receive the error: "ImportError: No module named 'whitenoise'"

Message into the error log is the following:

2016-11-20 21:19:26,153 :Error running WSGI application Traceback (most recent call last): File "/bin/user_wsgi_wrapper.py", line 154, in call app_iterator = self.app(environ, start_response) File "/bin/user_wsgi_wrapper.py", line 170, in import_error_application raise e File "/bin/user_wsgi_wrapper.py", line 179, in <module> application = load_wsgi_application() File "/bin/user_wsgi_wrapper.py", line 175, in load_wsgi_application return import(os.environ['WSGI_MODULE'], globals(), locals(), ['application']).application File "/var/www/pwini_pythonanywhere_com_wsgi.py", line 11, in <module> from whitenoise.django import DjangoWhiteNoise ImportError: No module named 'whitenoise'

What is wrong?

I'll be appreciate for advice.

Thanks in advance,

Piotr

Hi there,

You can check what we have already installed for you here.

If it is not already installed, you can install it with a simple command.