当我将我的应用程序推到heroku时,我遇到了这个错误: PyGObject无法为使用PEP 517的PyGObject构建轮子,不能直接远程安装: Push拒绝,编译Python应用程序失败。我尝试过使用另一个问题中的命令pip3 install --upgrade pip setuptools wheel
,然后我尝试使用pip3 install PyGObject
安装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
任何帮助都将不胜感激。我正在使用Ubuntu 20.04 "focal-fossa"
和python version 3.7.5
。
发布于 2021-03-21 19:04:32
当我把我的应用推到Heroku的时候,我也遇到了同样的问题--它被Pandas卡住了。对我来说,解决方案是调整我的runtime.txt中的python版本。
来自python-3.9.2
转到python-3.8.8
https://stackoverflow.com/questions/63829649
复制相似问题