Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import "_frozen_importlib" could not be resolved and Import "_frozen_importlib_external" could not be resolved #88

Open
laFakhriddin opened this issue Nov 30, 2021 · 1 comment

Comments

@laFakhriddin
Copy link

(venv) PS D:\Poligon\django-ecommerce-master> python manage.py runserver
Watching for file changes with StatReloader
Exception in thread django-main-thread:
Traceback (most recent call last):
File "C:\Python39\lib\threading.py", line 973, in _bootstrap_inner
self.run()
File "C:\Python39\lib\threading.py", line 910, in run
self._target(*self.args, **self.kwargs)
File "D:\Poligon\django-ecommerce-master\venv\lib\site-packages\django\utils\autoreload.py", line 54, in wrapper
fn(*args, **kwargs)
File "D:\Poligon\django-ecommerce-master\venv\lib\site-packages\django\core\management\commands\runserver.py", line 109, in inner_run
autoreload.raise_last_exception()
File "D:\Poligon\django-ecommerce-master\venv\lib\site-packages\django\utils\autoreload.py", line 77, in raise_last_exception
raise exception[1]
File "D:\Poligon\django-ecommerce-master\venv\lib\site-packages\django\core\management_init
.py", line 337, in execute
autoreload.check_errors(django.setup)()
File "D:\Poligon\django-ecommerce-master\venv\lib\site-packages\django\utils\autoreload.py", line 54, in wrapper
fn(*args, **kwargs)
File "D:\Poligon\django-ecommerce-master\venv\lib\site-packages\django_init
.py", line 24, in setup
apps.populate(settings.INSTALLED_APPS)
File "D:\Poligon\django-ecommerce-master\venv\lib\site-packages\django\apps\registry.py", line 91, in populate
app_config = AppConfig.create(entry)
File "D:\Poligon\django-ecommerce-master\venv\lib\site-packages\django\apps\config.py", line 90, in create
module = import_module(entry)
File "C:\Python39\lib\importlib_init
.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1030, in _gcd_import
File "", line 1007, in _find_and_load
File "", line 984, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'allauth'

Please help What do i have to do ?

@laFakhriddin
Copy link
Author

i tried on python 3.10 and 3.9.8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant