新创建的应用,仅写了两个云函数,然后部署就失败了。重试了好几次,仍旧失败。
[INFO] 当前命令行工具版本: 0.18.2
[INFO] 获取应用信息 ...
[INFO] 准备部署应用 rebate(F5avshtxlXGuYEeogmruzHyq-gzGzoHsz) 到 cn 节点分组 web 生产环境
[INFO] 检测到 Python 运行时
[INFO] 检测到项目使用 pyenv,请确保当前环境 pyenv 已正确设置
[INFO] 上传文件 35.47 KiB / 35.47 KiB [=============================] 100.00% 1s
[REMOTE] 开始构建 20180511-231046
[REMOTE] 正在下载应用代码 ...
[REMOTE] 正在解压缩应用代码 ...
[REMOTE] 运行环境: python
[REMOTE] 正在下载和安装依赖项 ...
[REMOTE] [ERROR] 部署失败:Downloading Python-2.7.11.tar.xz...
-> https://www.python.org/ftp/python/2.7.11/Python-2.7.11.tar.xz
/tmp/python-build.20180511231047.49 /
[#fd65f9 0B/0B CN:1 DL:0B]
[#fd65f9 0B/11MiB(0%!)(MISSING) CN:1 DL:29KiB ETA:6m46s]
[#fd65f9 864KiB/11MiB(7%!)(MISSING) CN:1 DL:542KiB ETA:20s]
[#fd65f9 3.3MiB/11MiB(28%!)(MISSING) CN:1 DL:1.2MiB ETA:6s]
[#fd65f9 9.3MiB/11MiB(79%!)(MISSING) CN:1 DL:2.4MiB]
05/11 23:10:53 [NOTICE] Download complete: /tmp/python-build.20180511231047.49/Python-2.7.11.tar.xz
Download Results:
gid |stat|avg speed |path/URI
======+====+===========+=======================================================
fd65f9|OK | 2.8MiB/s|/tmp/python-build.20180511231047.49/Python-2.7.11.tar.xz
Status Legend:
(OK):download completed.
Installing Python-2.7.11...
/tmp/python-build.20180511231047.49/Python-2.7.11 /tmp/python-build.20180511231047.49 /
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for --enable-universalsdk... no
checking for --with-uni
<ignored...>
versions/2.7.11/lib/python2.7/site-packages/pkg_resources/__init__.py", line 804, in resolve
requirements = list(requirements)[::-1]
File "/opt/pyenv/versions/2.7.11/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2930, in parse_requirements
"version spec")
File "/opt/pyenv/versions/2.7.11/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2906, in scan_list
raise RequirementParseError(msg, line, "at", line[p:])
pkg_resources.RequirementParseError: Expected ',' or end-of-list in cffi >= 1.11.5 ; sys_platform == 'win32' and platform_python_implementation == 'CPython' at ; sys_platform == 'win32' and platform_python_implementation == 'CPython'
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-rN0EWh/gevent
You are using pip version 7.1.2, however version 10.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
[INFO] 删除临时文件
部署失败
-
创建时间
18年5月11日
-
最后回复
18年6月1日
-
4
回复
-
3.2K
浏览
-
3
用户