首页 > 解决方案 > 在 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

标签: pythonpython-3.xherokudeploymentdiscord.py

解决方案


推荐阅读