Forums

allauth error

I'm trying to run the "./manage.py migrate" and like others, am getting the no module named 'allauth' error.

django-allauth is 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. I only have one version of Python installed (3.9) so that shouldn't be causing the issue either.

Please help as this is driving me insane!

Ahhh!!! Need to run the command from within the virtualenv (deeeerrrrrrr!) as opposed to a normal bash window.

Yup -- you need to activate the venv to perform operations in it (alternatively you can prepend the path to the python executable within the venv to your command). It's still a "normal" Bash console though : )