You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Summary[问题简述(一句话)]
A clear and concise description of what the issue is.
python web.py
Traceback (most recent call last):
File "D:\PythonTools\Anaconda3\envs\voice\lib\site-packages\flask_restx\api.py", line 18, in
from flask.helpers import _endpoint_from_view_func
ImportError: cannot import name '_endpoint_from_view_func' from 'flask.helpers' (D:\PythonTools\Anaconda3\envs\voice\lib\site-packages\flask\helpers.py)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:\PythonProject\MockingBird\web.py", line 1, in
from web import webApp
File "D:\PythonProject\MockingBird\web_init_.py", line 1, in
from web.api import api_blueprint
File "D:\PythonProject\MockingBird\web\api_init_.py", line 2, in
from flask_restx import Api
File "D:\PythonTools\Anaconda3\envs\voice\lib\site-packages\flask_restx_init_.py", line 2, in
from .api import Api # noqa
File "D:\PythonTools\Anaconda3\envs\voice\lib\site-packages\flask_restx\api.py", line 20, in
from flask.scaffold import _endpoint_from_view_func
ModuleNotFoundError: No module named 'flask.scaffold'
Env & To Reproduce[复现与环境]
描述你用的环境、代码版本、模型
os:windows11
python version:3.9.18
torch version:torch-1.9.0+cu102-cp39-cp39-win_amd64
Screenshots[截图(如有)]
If applicable, add screenshots to help
The text was updated successfully, but these errors were encountered:
Summary[问题简述(一句话)]
A clear and concise description of what the issue is.
python web.py
Traceback (most recent call last):
File "D:\PythonTools\Anaconda3\envs\voice\lib\site-packages\flask_restx\api.py", line 18, in
from flask.helpers import _endpoint_from_view_func
ImportError: cannot import name '_endpoint_from_view_func' from 'flask.helpers' (D:\PythonTools\Anaconda3\envs\voice\lib\site-packages\flask\helpers.py)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:\PythonProject\MockingBird\web.py", line 1, in
from web import webApp
File "D:\PythonProject\MockingBird\web_init_.py", line 1, in
from web.api import api_blueprint
File "D:\PythonProject\MockingBird\web\api_init_.py", line 2, in
from flask_restx import Api
File "D:\PythonTools\Anaconda3\envs\voice\lib\site-packages\flask_restx_init_.py", line 2, in
from .api import Api # noqa
File "D:\PythonTools\Anaconda3\envs\voice\lib\site-packages\flask_restx\api.py", line 20, in
from flask.scaffold import _endpoint_from_view_func
ModuleNotFoundError: No module named 'flask.scaffold'
Env & To Reproduce[复现与环境]
描述你用的环境、代码版本、模型
os:windows11
python version:3.9.18
torch version:torch-1.9.0+cu102-cp39-cp39-win_amd64
Screenshots[截图(如有)]
If applicable, add screenshots to help
The text was updated successfully, but these errors were encountered: