我正在尝试测试 travis-ci.org 上构建的包,但 pip install scipy 遇到超时:
Installing collected packages: scipy
Running setup.py install for scipy
Running command /home/travis/virtualenv/python2.6.9/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip-build-Fn2gmJ/scipy/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-hWDx9L-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/travis/virtualenv/python2.6.9/include/site/python2.6
No output has been received in the last 10 minutes, this potentially indicates a stalled build or something wrong with the build itself.
The build has been terminated
(摘自最近的构建日志 https://travis-ci.org/gwpy/gwpy/jobs/52225518).
如何在 Travis 上构建 scipy >= 0.11 而不会超时?
解决方案很简单。只需在安装命令前面加上前缀即可特拉维斯_等待。更多详细信息请访问https://docs.travis-ci.com/user/common-build-problems https://docs.travis-ci.com/user/common-build-problems/#Build-times-out-because-no-output-was-received.
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)