[REMOTE] 开始构建 20180326-142721
[REMOTE] 正在下载应用代码 ...
[REMOTE] 正在解压缩应用代码 ...
[REMOTE] 运行环境: python (leanengine/python-base)
[REMOTE] 正在下载和安装依赖项 ...
[REMOTE] [ERROR] 部署失败:Requirement already satisfied (use --upgrade to upgrade): gevent<2.0.0,>=1.0.2 in /opt/pyenv/versions/2.7.11/lib/python2.7/site-packages (from -r requirements.txt
(line 1))
Requirement already satisfied (use --upgrade to upgrade): gevent-websocket<1.0.0,>=0.9.5 in /opt/pyenv/versions/2.7.11/lib/python2.7/site-packages (from -r requirements.txt (line 2))
Collecting qiniu==7.1.4 (from -r requirements.txt (line 3))
Downloading qiniu-7.1.4.tar.gz
Collecting leancloud<3.0.0,>=2.0.0 (from -r requirements.txt (line 4))
Downloading leancloud-2.1.7.tar.gz
Collecting Werkzeug<1.0.0,>=0.11.11 (from -r requirements.txt (line 5))
Downloading Werkzeug-0.14.1-py2.py3-none-any.whl (322kB)
Collecting Flask<1.0.0,>=0.10.1 (from -r requirements.txt (line 6))
Downloading Flask-0.12.2-py2.py3-none-any.whl (83kB)
Collecting pycrypto==2.6.1 (from -r requirements.txt (line 7))
Downloading pycrypto-2.6.1.tar.gz (446kB)
Collecting Flask-QRcode (from -r requirements.txt (line 8))
Downloading Flask-QR
<ignored...>
return [dep for dep in self._dep_map if dep]
File "/opt/pyenv/versions/2.7.11/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.py", line 2797, in _dep_map
self.__dep_map = self._compute_dependencies()
File "/opt/pyenv/versions/2.7.11/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.py", line 2830, in _compute_dependencies
common = frozenset(reqs_for_extra(None))
File "/opt/pyenv/versions/2.7.11/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.py", line 2827, in reqs_for_extra
if req.marker_fn(override={'extra':extra}):
File "/opt/pyenv/versions/2.7.11/lib/python2.7/site-packages/pip/_vendor/_markerlib/markers.py", line 113, in marker_fn
return eval(compiled_marker, environment)
File "<environment marker>", line 1, in <module>
NameError: name 'platform_system' is not defined
You are using pip version 7.1.2, however version 9.0.3 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
[INFO] 删除临时文件
部署失败
我看到社区里,有人说:不支持自行设置 pip 的版本,python 3.6.1 才能使用 pip 9,而我们的 python 版本是 2.7的。
像这种情况,该怎么办呢?有人碰到相同问题吗?
APPID: rVK9Mxnc25TbyVeDHVrhgCCF-gzGzoHsz