【发布时间】:2018-09-19 07:31:35
【问题描述】:
我试图通过 GitHub 在我的 heroku 服务器上安装更新版本的 bitly-api,因为我们遇到了从 2.7.15 到 3.6.6 的问题,所以我添加了 git+git:https://URLOFGIT.GIT,我似乎得到以下错误。什么意思?
我需要强制它使用 pip3 吗?
-----> Python app detected
-----> Found python-2.7.15, removing
-----> Installing python-3.6.6
-----> Installing pip
-----> Installing requirements with pip
Collecting git+git:https://github.com/bitly/bitly-api-python.git (from -r /tmp/build_c254deea58fb0d0ccb947f1819f45b29/requirements.txt (line 25))
Cloning git:///https://github.com/bitly/bitly-api-python.git to /tmp/pip-tibxul79-build
fatal: unable to connect to :
: Name or service not known
Command "git clone -q git:///https://github.com/bitly/bitly-api-python.git /tmp/pip-tibxul79-build" failed with error code 128 in None
! Push rejected, failed to compile Python app.
! Push failed
【问题讨论】:
标签: python python-3.x github heroku