vat*_*lay 5 git heroku flask python-3.7 ubuntu-20.04
我在将 Flask 应用程序推送到 heroku 时遇到此错误:
无法为使用 PEP 517 且无法直接远程安装的 PyGObject 构建轮子:推送被拒绝,无法编译 Python 应用程序。我已经 pip3 install --upgrade pip setuptools wheel按照某人在另一个问题中的建议尝试了这个命令,然后我尝试使用安装PyGObject,pip3 install PyGObject但我说要求已经得到满足
完全错误
remote: Failed to build dbus-python PyGObject
remote: ERROR: Could not build wheels for PyGObject which use PEP 517 and cannot be installed directly
remote: ! Push rejected, failed to compile Python app.
remote:
remote: ! Push failed
remote: Verifying deploy...
remote:
remote: ! Push rejected to safe-meadow-87431.
remote:
To https://git.heroku.com/safe-meadow-87431.git
Run Code Online (Sandbox Code Playgroud)
任何帮助,将不胜感激。我正在使用Ubuntu 20.04 "focal-fossa"和 pythonversion 3.7.5
| 归档时间: |
|
| 查看次数: |
468 次 |
| 最近记录: |