我使用 python 框架“Flask”创建了一个 python 应用程序。我使用了以下文档https://devcenter.heroku.com/articles/python
当我运行这个:
git push heroku 大师
推送到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'
任何帮助表示赞赏。