gpt4 book ai didi

heroku - heroku推送被拒绝,无法编译Python应用

转载 作者:行者123 更新时间:2023-12-03 17:36:44 27 4
gpt4 key购买 nike

我使用“ Flask” python框架创建了一个python应用程序。我使用了以下文档https://devcenter.heroku.com/articles/python

当我运行这个:

git push heroku master

I'm getting the following error after pushing to heroku.

Counting objects: 8, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (4/4), done.
Writing objects: 100% (8/8), 1.62 KiB, done.
Total 8 (delta 0), reused 0 (delta 0)

-----> Python app detected
-----> No runtime.txt provided; assuming python-2.7.4.
-----> Preparing Python runtime (python-2.7.4)
-----> Installing Distribute (0.6.36)
-----> Installing Pip (1.3.1)
-----> Installing dependencies using Pip (1.3.1)
Downloading/unpacking BeautifulSoup==3.2.1 (from -r requirements.txt (line 1))
Downloading BeautifulSoup-3.2.1.tar.gz
Running setup.py egg_info for package BeautifulSoup

Downloading/unpacking CDApplet==1.0 (from -r requirements.txt (line 2))
Could not find any downloads that satisfy the requirement CDApplet==1.0 (from -r requirements.txt (line 2))
No distributions at all found for CDApplet==1.0 (from -r requirements.txt (line 2))
Storing complete log in /app/.pip/pip.log

! Push rejected, failed to compile Python app

To git@heroku.com:frozen-brushlands-5131.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'git@heroku.com:frozen-brushlands-5131.git'


任何帮助表示赞赏。

最佳答案

似乎没有一个名为CDApplet的Python包。当您的Heroku应用尝试安装CDApplet时,它将失败并显示此错误。

我在本地尝试过,也找不到名为CDApplet的Python包。

关于heroku - heroku推送被拒绝,无法编译Python应用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17685731/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com