首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Heroku git主推

Heroku git主推
EN

Stack Overflow用户
提问于 2021-01-31 07:14:19
回答 2查看 57关注 0票数 0

我是heroku的新手,但我一直在跟踪文档的内容。我正在向heroku部署我的dash应用程序。在最后主推之前,安装一直进行得很顺利。

代码语言:javascript
复制
> (venv) -MacBook-Air-3 heroku % git push heroku master
Enumerating objects: 12155, done.
Counting objects: 100% (12155/12155), done.
Delta compression using up to 4 threads
Compressing objects: 100% (2900/2900), done.
Writing objects: 100% (12155/12155), 15.08 MiB | 1.53 MiB/s, done.
Total 12155 (delta 9145), reused 12155 (delta 9145)
remote: Compressing source files... done.
remote: Building source:
remote: 
remote: -----> Building on the Heroku-20 stack
remote: -----> Python app detected
remote: -----> Installing python-3.6.12
remote: -----> Installing pip 20.1.1, setuptools 47.1.1 and wheel 0.34.2
remote: -----> Installing SQLite3
remote: -----> Installing requirements with pip
remote:        ERROR: Could not find a version that satisfies the requirement hBrotli==1.0.9        
(from -r /tmp/build_77052133/requirements.txt (line 1)) (from versions: none)
remote:        ERROR: No matching distribution found for hBrotli==1.0.9 (from -r                                /tmp/build_77052133/requirements.txt (line 1))
remote:  !     Push rejected, failed to compile Python app.
remote: 
remote:  !     Push failed

我按照文档使用pip3 freeze >requirements.txt创建了pip3,实际上在第1行中有hBrotli== 1.0.9。我不熟悉hBrotli,也不把它用于我的代码,而且似乎找不到有关它的任何信息。我不知道这条错误信息意味着什么。

EN

回答 2

Stack Overflow用户

发布于 2021-01-31 07:22:10

没有名为hBrotli的包,可能是由于某些错误--只需将hBrotli更改为Brotli

票数 0
EN

Stack Overflow用户

发布于 2021-01-31 07:32:11

这是您要寻找的https://pypi.org/project/Brotli/包,所以只需将hBrotli改为Brotli即可。

或者直接做pip install Brotli

另外,如果需要,请将导入更改为from brotli import nameOfClass

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

https://stackoverflow.com/questions/65976637

复制
相关文章

相似问题

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