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

ModuleNotFoundError: No module named 'uvloop' #1315

Open
555chy opened this issue Feb 19, 2025 · 0 comments
Open

ModuleNotFoundError: No module named 'uvloop' #1315

555chy opened this issue Feb 19, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@555chy
Copy link

555chy commented Feb 19, 2025

PS D:\Downloads\WrenAI-main-2.7\wren-ai-service> poetry lock
Skipping virtualenv creation, as specified in config file.
Resolving dependencies... (3.8s)

PS D:\Downloads\WrenAI-main-2.7\wren-ai-service> poetry install
Skipping virtualenv creation, as specified in config file.
Installing dependencies from lock file
No dependencies to install or update

PS D:\Downloads\WrenAI-main-2.7\wren-ai-service> poetry run python -m src.main
Skipping virtualenv creation, as specified in config file.
Warning: Configuration file config.yaml not found. Using default settings.
WARNING: Current configuration will not reload as not all conditions are met, please refer to documentation.
Traceback (most recent call last):
File "", line 198, in run_module_as_main
File "", line 88, in run_code
File "D:\Downloads\WrenAI-main-2.7\wren-ai-service\src_main
.py", line 91, in
uvicorn.run(
File "D:\software\Python\Lib\site-packages\uvicorn\main.py", line 577, in run
server.run()
File "D:\software\Python\Lib\site-packages\uvicorn\server.py", line 64, in run
self.config.setup_event_loop()
File "D:\software\Python\Lib\site-packages\uvicorn\config.py", line 475, in setup_event_loop
loop_setup: Callable | None = import_from_string(LOOP_SETUPS[self.loop])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\software\Python\Lib\site-packages\uvicorn\importer.py", line 22, in import_from_string
raise exc from None
File "D:\software\Python\Lib\site-packages\uvicorn\importer.py", line 19, in import_from_string
module = importlib.import_module(module_str)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\software\Python\Lib\importlib_init
.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 1204, in _gcd_import
File "", line 1176, in _find_and_load
File "", line 1147, in _find_and_load_unlocked
File "", line 690, in _load_unlocked
File "", line 940, in exec_module
File "", line 241, in _call_with_frames_removed
File "D:\software\Python\Lib\site-packages\uvicorn\loops\uvloop.py", line 3, in
import uvloop
ModuleNotFoundError: No module named 'uvloop'

PS D:\Downloads\WrenAI-main-2.7\wren-ai-service> poetry show uvloop
Skipping virtualenv creation, as specified in config file.
name : uvloop
version : 0.21.0
description : Fast implementation of asyncio event loop on top of libuv

required by

  • uvicorn requires >=0.14.0,<0.15.0 || >0.15.0,<0.15.1 || >0.15.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant