发flask_scrip没办法安装,怎么办
来源:4-9 打造高可用flask mvc框架
慕田峪1533028
2019-12-19
flask
flask-sqlalchemy
mysqlclient
flask_script
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\\se
2回答
-
你好
你执行 然后截图我看看
pip install flask_script
112019-12-19 -
慕田峪1533028
提问者
2019-12-19
C:\Users\dell\PycharmProjects\untitled4>pip install flask_script
Collecting flask_script
Using cached https://files.pythonhosted.org/packages/00/a4/cd587b2b19f043b65bf33ceda2f6e4e6cdbd0ce18d01a52b9559781b1da6/Flask-Script-2.0.6.tar.gz
Requirement already satisfied: Flask in c:\program files\python36\lib\site-packages (from flask_script) (1.1.1)
Requirement already satisfied: Jinja2>=2.10.1 in c:\program files\python36\lib\site-packages (from Flask->flask_script) (2.10.3)
Requirement already satisfied: Werkzeug>=0.15 in c:\program files\python36\lib\site-packages (from Flask->flask_script) (0.16.0)
Requirement already satisfied: itsdangerous>=0.24 in c:\program files\python36\lib\site-packages (from Flask->flask_script) (1.1.0)
Requirement already satisfied: click>=5.1 in c:\program files\python36\lib\site-packages (from Flask->flask_script) (7.0)
Requirement already satisfied: MarkupSafe>=0.23 in c:\program files\python36\lib\site-packages (from Jinja2>=2.10.1->Flask->flask_script) (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-oths0qm3\\flask-script\\setu
p.py'"'"'; __file__='"'"'C:\\Users\\dell\\AppData\\Local\\Temp\\pip-install-oths0qm3\\flask-script\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"
'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\dell\AppData\Local\Temp\pip-record-at3ku7d3\install-record.txt' --single-version-e
xternally-managed --compile
cwd: C:\Users\dell\AppData\Local\Temp\pip-install-oths0qm3\flask-script\
Complete output (13 lines):
running install
running build
running build_py
creating build
creating build\lib
creating build\lib\flask_script
copying flask_script\cli.py00
相似问题