我正在尝试通过GitHub在Heroku上部署我的机器人。
在requirements.txt中,我有“os”。我试着部署机器人,以便Heroku能够识别Procfile。它给了我这个错误。Collecting os (from -r /tmp/build_e656b8b6627c307b02ef77c47e6bb725/requirements.txt (line 3))find a
我想在heroku上托管我的不和谐机器人 i have followed and youtube video till here 但是我不知道如何修复这个错误 完整 Enumerating objectshttps://devcenter.heroku.com/articles/buildpacks#detection-failureremote: !git push heroku <branchname>:mainremot
我正试图使用我的discord.py主分支在Heroku上部署我的GitHub机器人,但是由于git错误:Could not find a tag or branch 'rewrite', assumingcommit而无法这样做。:python-3.6.8应用程序文件:git
在尝试部署bot时,除了使用git+https://github.com
我通过guesslang下载了这个名为pip的模块,并将它添加到我的requirements.txt文件中供Heroku下载。当我在本地运行我的不和谐机器人时,它没有问题。但是,每当我将它部署到Heroku上时,就会得到以下错误:
ERROR: Could not find a version that satisfies the requirement tensorflow==2.2.0 (from guesslang==2.0.1->-r /tmp&
我有一个问题,我的python机器人代码,我需要chdir到文件夹,我所有的文件都在Github,但我不知道怎么做。我试过了,但不起作用: os.chdir("Game-Master /") 它在日志中给出了这个错误: 2020-11-17T20:29:12.491976+00:00 heroku[worker.1]: State changed from crashed to starting
2020-11-17T20:29:15.869590+00:00 heroku[worker.1]: Startin