首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >将烧瓶应用程序推送到heroku时出错:无法为使用PEP 517且不能直接安装的PyGObject构建车轮

将烧瓶应用程序推送到heroku时出错:无法为使用PEP 517且不能直接安装的PyGObject构建车轮
EN

Stack Overflow用户
提问于 2020-09-10 12:25:37
回答 1查看 749关注 0票数 4

当我将我的应用程序推到heroku时,我遇到了这个错误: PyGObject无法为使用PEP 517的PyGObject构建轮子,不能直接远程安装: Push拒绝,编译Python应用程序失败。我尝试过使用另一个问题中的命令pip3 install --upgrade pip setuptools wheel,然后我尝试使用pip3 install PyGObject安装PyGObject,但我说的要求已经满足了

全误差

代码语言:javascript
运行
复制
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

EN

回答 1

Stack Overflow用户

发布于 2021-03-21 19:04:32

当我把我的应用推到Heroku的时候,我也遇到了同样的问题--它被Pandas卡住了。对我来说,解决方案是调整我的runtime.txt中的python版本。

来自python-3.9.2

转到python-3.8.8

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/63829649

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档