pycharm 命令运行测试,访问不了主页,报错
代码如下) pip install Flask
from flask import Flask
app = Flask(name)
@app.route('/index')
def index():
return 'HELLO'
app.run(debug=True)
(报错内容) WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
- Running on http://127.0.0.1:5000
Press CTRL+C to quit - Restarting with stat
- Debugger is active!
- Debugger PIN: 131-970-103
- Detected change in 'C:\Users\A\Desktop\python\choujiang.py', reloading
- Restarting with stat
- Debugger is active!
- Debugger PIN: 131-970-103
百度搜的装插件pip装了install插件无效
我想要达到的结果