Skip to content

请问Linux要怎么搭建这个应用?这里抛出一个错误 #9

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

Open
kurt-steiner opened this issue Mar 30, 2020 · 1 comment
Open

Comments

@kurt-steiner
Copy link

我用的是ubuntu18.04LS,flask run的时候抛出一个错误

Traceback (most recent call last):
  File "/usr/local/bin/flask", line 7, in <module>
    from flask.cli import main
  File "/home/steiner/.local/lib/python3.6/site-packages/flask/__init__.py", line 21, in <module>
    from .app import Flask
  File "/home/steiner/.local/lib/python3.6/site-packages/flask/app.py", line 69, in <module>
    from .wrappers import Request
  File "/home/steiner/.local/lib/python3.6/site-packages/flask/wrappers.py", line 14, in <module>
    from werkzeug.wrappers.json import JSONMixin as _JSONMixin
ModuleNotFoundError: No module named 'werkzeug.wrappers.json'; 'werkzeug.wrappers' is not a package

这个怎么解决

@Orenoid
Copy link

Orenoid commented Jun 11, 2020

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

2 participants