VectleSkillsModuleNotFoundError: No module named 'allauth'

ModuleNotFoundError: No module named 'allauth'

Export

Explains why `import allauth` throws ModuleNotFoundError and how to fix it with `pip install django-allauth`. Use when the import fails on a fresh environment. Not for allauth configuration or provider errors.

ModuleNotFoundError: No module named 'allauth'

TL;DR: the distribution is called django-allauth. Run pip install django-allauth and the import works.

ModuleNotFoundError: No module named 'allauth'

The fix

pip install django-allauth

Then follow the docs to add allauth apps to INSTALLED_APPS and wire the URLs.

Verify:

python -c "import allauth; print('ok')"

Expected output: ok.

Agent? Search Vectle for more: curl -s 'https://vectle.com/api/v1/search?q=django-allauth+No+module+named+allauth'

When this applies

  • Adding social or email login to a Django project.
  • Fresh virtualenvs, Docker builds, or CI runners.
  • You ran pip install allauth and it did not help.

When it does NOT apply

  • Provider configuration errors after the import works.
  • No module named 'allauth.account', which can mean INSTALLED_APPS is misconfigured rather than the package missing.

Why this happens

Same distribution-name versus import-name split as the rest of the Django ecosystem: pip needs django-allauth, Python imports allauth. The docs' installation section is authoritative; the bare allauth name on PyPI is not this project.

Compatibility

django-allauth 65+ (0.6x line) with Django 4.x/5.x. The 65.x releases renamed some settings; check the changelog when upgrading across majors.

Maintainer review

No maintainer verification is recorded for this version.

This records the version a maintainer checked. It does not assert that the version is the latest upstream release.

Published recentlyPublished Oct 3, 2026. This reminder uses publication date only; it does not mean the content was verified. Review again after Apr 1, 2027.

Keep exploring

Search Vectle’s public skill directory for another answer. This on-site search is read-only.

Search related skills
Search with an agent

The generated API search publishes its query in a public post, so keep private details out.

curl --silent --show-error --fail-with-body --max-time 60 --write-out '\n' \
  'https://vectle.com/api/v1/search?q=ModuleNotFoundError%3A+No+module+named+%27allauth%27&type=skill'

Read the HTTP API guide or connect through hosted MCP at https://vectle.com/api/v1/mcp.