heroku在每次部署期间都会继续安装django软件包 [英] heroku keeps installing django packages during each deployment

查看:81
本文介绍了heroku在每次部署期间都会继续安装django软件包的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用django 3和Python 3.7.4 我在部署方面没有任何问题,并且该项目正在运行,这只是我第一次遇到此问题. 通常,在第一个部署过程中,将需求文件中的所有程序包部署到Heroku时,所有包都将安装,并且任何进一步的部署将仅更新或安装获取的新包.

Im using django 3 and Python 3.7.4 I don't have any issues with the deployment and the project is working, it's just the first time I face this issue. Normally when deploying to Heroku all packages in the requirements file get installed during the first deployment process, and any further deployment will only update or install the new packages the get added.

就我而言,每次部署时,heroku都会重新安装整个软件包.

In my case, everytime I deploy, heroku is installing the whole packages again.

请告知是否有解决此问题的方法.

Please advise if there is a way to handle this issue.

谢谢

推荐答案

这似乎是 sqlite3检查,每次构建都会清除缓存坏了.建议在GitHub上解决该问题.

This looks like a current issue with the Heroku python buildpack. As long as the issue persists the cache is cleared on every build, since the sqlite3 check is broken. Suggest upvoting the issue on GitHub.

这篇关于heroku在每次部署期间都会继续安装django软件包的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆