python - 在 Heroku 上部署我的不和谐机器人时出错。我怎样才能改变这个?
问题描述
我想在 Heroku 上部署我的 discord 机器人,但出现错误:
Collecting git+https://github.com/EinfachNurBaum/OwO-Bot (from -r /tmp/build_25fc34fd/requirements.txt (line 1))
Cloning https://github.com/EinfachNurBaum/OwO-Bot to /tmp/pip-req-build-8bavf25j
ERROR: Command errored out with exit status 128: git clone -q https://github.com/EinfachNurBaum/OwO-Bot /tmp/pip-req-build-8bavf25j Check the logs for full command output.
! Push rejected, failed to compile Python app.
我认为“要求”是问题所在:
git+https://github.com/EinfachNurBaum/OwO-Bot
discord==1.0.1
discord.py
async-timeout
TenGiphPy== 2.5.0
这是我的进口:
import discord
import random
import TenGiphPy
from itertools import cycle
from discord.ext import commands, tasks
import asyncio
from time import sleep
解决方案
推荐阅读
- python - 在 Python 中使用 scikit learn 进行线性判别分析
- android - 仅更改 apk 中的权限并在 Playstore 上重新发布
- python - 直接从网络驱动器上的远程 git 存储库安装
- gitlab - 如何从 Gitlab API 获取“git show-branch”?
- spring-security - Spring Session 升级后出现 InResponseToField 错误
- javascript - ChartJS 出现和消失
- c# - 如何在 Angular 和 Asp.Net Boilerplate 上获取当前用户 ID?
- r - 在 Shiny 中使用 IF 创建函数
- parsing - 一元运算符树
- typescript - 为导出具有属性的函数的模块定义类型