我正在嘗試通過(guò) GitHub 在 Heroku 上部署我的機(jī)器人。在 requirements.txt 中,我有 'os'。我嘗試部署機(jī)器人,以便 Heroku 能夠識(shí)別 Procfile。它給了我這個(gè)錯(cuò)誤。Collecting os (from -r /tmp/build_e656b8b6627c307b02ef77c47e6bb725/requirements.txt (line 3)) Could not find a version that satisfies the requirement os (from -r /tmp/build_e656b8b6627c307b02ef77c47e6bb725/requirements.txt (line 3)) (from versions: ) No matching distribution found for os (from -r /tmp/build_e656b8b6627c307b02ef77c47e6bb725/requirements.txt (line 3)) ! Push rejected, failed to compile Python app. ! Push failed如何解決?
為什么 Heroku 找不到滿(mǎn)足要求的 'os' 版本?
千萬(wàn)里不及你
2022-06-28 15:44:26