python - Python-Heroku - aiohttp 3.7.3 要求 chardet<4.0,>=2.0,但您将拥有不兼容的 chardet 4.0.0
问题描述
我刚开始使用 git 和 heroku,我想让我的文件在 heroku 24/7 上在线,但是在将文件上传到 heroku(git push heroku master)时,这出现了
aiohttp 3.7.3 has requirement chardet<4.0,>=2.0, but you'll have chardet 4.0.0 which is incompatible.
我真的认为这是一个 python 版本问题,所以当我尝试使用 aruntime.txt
并将 python 版本设置为https://devcenter.heroku.com/articles/python-support#supported-runtimes此页面上的支持版本之一时,仍然它不起作用并显示
Requested runtime (python=3.7.9) is not available for this stack (heroku-20).
remote: ! Aborting. More info: https://devcenter.heroku.com/articles/python-support
我是第一次使用 git,所以不太好用。我只在一个名为 master 的分支上工作,我先输入
git add .
然后
git commit -am "tej"
然后
git push heroku master
不,我不在 github repo 上工作。
解决方案
推荐阅读
- enums - AAPT:错误:资源 'attr/brightness' 与配置 '' 的重复值。\n ","tool":"AAPT"}
- sql - 如何将 forEach 循环的(值)设置为变量
- rxjs - rxjs asapscheduler 的执行顺序
- java - Spring JPA:如果行的长度达到大于最大列表长度的值,会发生什么?
- arrays - 如何使用角度从数组中删除未定义的对象?
- linux - 编写 Linux Bash 脚本,根据行中的字数打印 grep 输出
- c++ - 编译器如何在同一行的多个增量期间生成此意外结果
- gradle - 如何使用 kotlin dsl 从子项目 build.gradle 访问根 build.gradle 文件中定义的变量?
- sql-server - 多个数据流任务与一个具有多个源-目的地的数据流任务
- visual-studio - 如何让 MSBuild 检测输出输入工具链依赖关系