我是第一次接触Flask和heroku,但我构建了一个简单的应用程序,并使用SQLite将其推送到heroku。在将应用程序迁移到远程mysql数据库后,我注意到无法让应用程序运行,因为我得到了以下错误:在搜索之后,我发现这个错误是因为我需要安装==0.3.2Flask-SQLAlchemy==2.1Jinja2==2.8
Ma
我正在使用Django在Heroku上部署我的ML模型,我需要为我的应用程序安装en_core_web_lg,但无法安装它 我的requirements.txt是这样的: ..djangorestframework==3.12.2en-core-web-sm==2.3.1heroku==0.1.4
..错误是: ERROR: Could not find a version that satisfies the requirement en-core
目前在本地环境上工作,但是在推到heroku并访问我的活动页面后,我在/获得了一个/。看起来我根本不能运行任何for循环。我只想补充一句,我正在做django女孩的教程,并且是个新手。OperationalError at /没有这样的表: blog_post在template /app/blog/template/blog/ post _list.html中,第5行出现错误(post%}为post的{