wxf8602

wxf8602

200 飞吻 15天前加入 来自

( )

wxf8602 最近的提问

wxf8602 最近的回答

  • 14天前flask启动成功,访问报错?中回答:

    @mkg 现在似乎创建了虚拟环境,现在flask run启动后,访问报错有变化, flask.cli.NoAppException: While importing "main", an ImportError was raised: Traceback (most recent call last): File "C:\Users\wangxufei\Anaconda3\lib\site-packages\flask\cli.py", line 240, in locate_app __import__(module_name) File "C:\Users\wangxufei\PycharmProjects\pear-admin-flask\main.py", line 2, in <module> from flask_uploads import configure_uploads, patch_request_class File "C:\Users\wangxufei\Anaconda3\lib\site-packages\flask_uploads.py", line 26, in <module> from werkzeug import secure_filename, FileStorage ImportError: cannot import name 'secure_filename' from 'werkzeug' (C:\Users\wangxufei\Anaconda3\lib\site-packages\werkzeug\__init__.py)
  • 14天前flask启动成功,访问报错?中回答:

    @mkg 按教程执行过 python -m venv venv,能私聊嘛? 181 1256 8651
  • 14天前flask启动成功,访问报错?中回答:

    @mkg 不为anaconda