Django Heroku在要求时提交失败

2024-05-19 10:08:50 发布

您现在位置:Python中文网/ 问答频道 /正文

当我尝试将我的新应用部署到Heroku时,我收到以下错误。当它尝试安装所有的requirements.txt行项目时,看起来好像失败了,特别是在我的应用程序中根本没有使用的PyAudio上

我的需求文件是使用pip freeze > requirements.txt生成的,它有155行项目(对于我的简单应用程序来说似乎太高了)。这就是问题的根源吗

-----> Python app detected
-----> Installing python-3.6.12
-----> Installing pip 20.1.1, setuptools 47.1.1 and wheel 0.34.2
-----> Installing SQLite3
-----> Installing requirements with pip
       ERROR: PyAudio-0.2.11-cp38-cp38-win_amd64.whl is not a supported wheel on this platform.
 !     Push rejected, failed to compile Python app.
 !     Push failed

Tags: pip项目txtapp应用程序heroku部署错误

热门问题