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

windows系统 python3.11 报错ModuleNotFoundError: Please install connexion using the 'flask' extra #221

Closed
PlayerJian opened this issue Apr 16, 2024 · 2 comments

Comments

@PlayerJian
Copy link

Starting PaddleLabel
INFO [paddlelabel.config.19]: Database path: sqlite:///C:\Users\11742.paddlelabel\paddlelabel.db
Traceback (most recent call last):
File "", line 198, in run_module_as_main
File "", line 88, in run_code
File "C:\Users\11742\AppData\Local\conda\conda\envs\paddlelabel\Scripts\paddlelabel.exe_main
.py", line 7, in
File "C:\Users\11742\AppData\Local\conda\conda\envs\paddlelabel\Lib\site-packages\paddlelabel_main
.py", line 107, in run
from paddlelabel import api, task
File "C:\Users\11742\AppData\Local\conda\conda\envs\paddlelabel\Lib\site-packages\paddlelabel\api_init_.py", line 7, in
from paddlelabel.config import app
File "C:\Users\11742\AppData\Local\conda\conda\envs\paddlelabel\Lib\site-packages\paddlelabel\config.py", line 21, in
connexion_app = connexion.App("PaddleLabel")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\11742\AppData\Local\conda\conda\envs\paddlelabel\Lib\site-packages\connexion\utils.py", line 284, in delayed_error
raise type(exc)(msg).with_traceback(exc.traceback)
File "C:\Users\11742\AppData\Local\conda\conda\envs\paddlelabel\Lib\site-packages\connexion_init
.py", line 19, in
from connexion.apps.flask import FlaskApi, FlaskApp
File "C:\Users\11742\AppData\Local\conda\conda\envs\paddlelabel\Lib\site-packages\connexion\apps\flask.py", line 9, in
from a2wsgi import WSGIMiddleware
ModuleNotFoundError: Please install connexion using the 'flask' extra

@jhonboHou
Copy link

执行 pip install connexion[falsk] 试试

Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions.

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

No branches or pull requests

2 participants