python - Heroku 和 Aiohttp - 这会导致问题吗?
问题描述
在部署到 Heroku 时,我发现了这个错误:
ERROR: aiohttp 3.7.3 has requirement chardet<4.0,>=2.0, but you'll have chardet 4.0.0 which is incompatible.
然而下面却说
Successfully installed aiohttp-3.7.3
但是,该程序似乎没有按预期工作 - 它适用于我的本地版本,但当我将其部署到 heroku 时却没有,这让我怀疑 ERROR 导致了问题。在这种情况下,如何将 chardet 更改为兼容?
解决方案
推荐阅读
- java - 当我在模式中有相同的表时,如何在运行时动态传递模式名称
- javascript - 仅当所有输入字段为空时才显示错误消息框
- javascript - 我可以在 React 中跨多个树共享一个组件实例吗?
- python - 打破长 if 语句的推荐方法是什么?(二元运算符后的 W504 换行符)
- wso2 - 如何在wso2中将文本转换为多个xml
- objective-c - 如何将数字字符串从“复杂”字符串转换为整数?
- r - 这行代码对 lm() 和 poly() 函数做了什么创建列 P$Y
- java - 尝试在空对象引用上调用虚拟方法 'java.lang.String
- excel - 列出从 sql 搜索到 Excel 的值
- c# - C#:如何在不装箱或拆箱的情况下使用反射设置具有值类型的属性?