在heroku上托管不和谐服务器失败

时间:2020-09-16 01:04:39

标签: python github heroku pip discord

-----> Python app detected
-----> Installing python-3.6.12
-----> Installing pip 20.1.1, setuptools 47.1.1 and wheel 0.34.2
-----> Installing SQLite3
-----> Installing requirements with pip
       Collecting git+https://github.com/ceeach/usek-bot (from -r /tmp/build_496bdceb/requirements.txt (line 1))
         Cloning https://github.com/ceeach/usek-bot to /tmp/pip-req-build-_q05xjz9
         Running command git clone -q https://github.com/ceeach/usek-bot /tmp/pip-req-build-_q05xjz9
         warning: You appear to have cloned an empty repository.
           ERROR: Command errored out with exit status 1:
            command: /app/.heroku/python/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-_q05xjz9/setup.py'"'"'; __file__='"'"'/tmp/pip-req-build-_q05xjz9/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-9sd3q6qi
                cwd: /tmp/pip-req-build-_q05xjz9/
           Complete output (5 lines):
           Traceback (most recent call last):
             File "<string>", line 1, in <module>
             File "/app/.heroku/python/lib/python3.6/tokenize.py", line 452, in open
               buffer = _builtin_open(filename, 'rb')
           FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-req-build-_q05xjz9/setup.py'
           ----------------------------------------
       ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
 !     Push rejected, failed to compile Python app.
 !     Push failed

我知道该错误与pip有关,但是我似乎无法修复它,我尝试对其进行更新,卸载并重新安装,并检查了数十个Internet教程。

0 个答案:

没有答案