请稍等 ...
×

采纳答案成功!

向帮助你的同学说点啥吧!感谢那些助人为乐的人

正在回答 回答被采纳积分+3

4回答

编程浪子 2019-12-19 17:02:03

你好

你执行 然后截图我看看

pip install  flask_script


0 回复 有任何疑惑可以回复我~
提问者 慕田峪1533028 2019-12-19 15:53:44

老师这个是错误提示和附加了我自己写的代码

0 回复 有任何疑惑可以回复我~
提问者 慕田峪1533028 2019-12-19 15:52:57


C:\Users\dell\PycharmProjects\untitled4>pip install -r requirements.txt
Requirement already satisfied: flask in c:\program files\python36\lib\site-packages (from -r requirements.txt (line 1)) (1.1.1)
Requirement already satisfied: flask-sqlalchemy in c:\program files\python36\lib\site-packages (from -r requirements.txt (line 2)) (2.4.1)
Requirement already satisfied: mysqlclient in c:\program files\python36\lib\site-packages (from -r requirements.txt (line 3)) (1.4.6)
Collecting flask_script
  Downloading https://files.pythonhosted.org/packages/00/a4/cd587b2b19f043b65bf33ceda2f6e4e6cdbd0ce18d01a52b9559781b1da6/Flask-Script-2.0.6.tar.gz (43kB)
     |████████████████████████████████| 51kB 117kB/s
Requirement already satisfied: click>=5.1 in c:\program files\python36\lib\site-packages (from flask->-r requirements.txt (line 1)) (7.0)
Requirement already satisfied: Werkzeug>=0.15 in c:\program files\python36\lib\site-packages (from flask->-r requirements.txt (line 1)) (0.16.0)
Requirement already satisfied: itsdangerous>=0.24 in c:\program files\python36\lib\site-packages (from flask->-r requirements.txt (line 1)) (1.1.0)
Requirement already satisfied: Jinja2>=2.10.1 in c:\program files\python36\lib\site-packages (from flask->-r requirements.txt (line 1)) (2.10.3)
Requirement already satisfied: SQLAlchemy>=0.8.0 in c:\program files\python36\lib\site-packages (from flask-sqlalchemy->-r requirements.txt (line 2)) (1.3.12)
Requirement already satisfied: MarkupSafe>=0.23 in c:\program files\python36\lib\site-packages (from Jinja2>=2.10.1->flask->-r requirements.txt (line 1)) (1.1.1)
Installing collected packages: flask-script
    Running setup.py install for flask-script ... error
    ERROR: Command errored out with exit status 1:
     command: 'C:\Program Files\Python36\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\dell\\AppData\\Local\\Temp\\pip-install-qu6u76dq\\flask-script
\\setup.py'"'"'; __file__='"'"'C:\\Users\\dell\\AppData\\Local\\Temp\\pip-install-qu6u76dq\\flask-script\\seflask

flask-sqlalchemy
mysqlclient
flask_script

0 回复 有任何疑惑可以回复我~
编程浪子 2019-12-19 10:26:15

你好

麻烦你直接贴出代码,截图根本看不清楚,全都是模糊的。

0 回复 有任何疑惑可以回复我~
  • 提问者 慕田峪1533028 #1
    老师我这个flask_script安装不了,怎么办呢
    回复 有任何疑惑可以回复我~ 2019-12-20 00:27:36
问题已解决,确定采纳
还有疑问,暂不采纳
意见反馈 帮助中心 APP下载
官方微信