Forums

allauth Erorr

I am trying to deploy my django app, and I keep getting an error saying ModuleNotFoundError: No module named 'allauth'. django-allauth was installed in my virtual env with the correct version of python. My virtualenv is reference correctly the the "Web' section of the site. My WSGI file is set up correctly, and my virtual env is using the correct version of python. WTF am I doing wrong?

Can we take a look at your files? We can see them from our admin interface, but we always ask for permission first.

Yes, you absolutely can.

Thanks! It looks like you have a virtualenv that contains both Python 3.8 and 3.9; your website is configured to use Python 3.8, but you only have allauth installed for Python 3.9.

In general, virtualenvs with multiple versions of Python installed can cause problems, so I'd recommend deleting the one that you have, and creating a new one with just one Python version. Then you can install of the packages that you need into that.