【发布时间】:2020-06-07 12:45:05
【问题描述】:
我遇到过这个关于mysql版本的错误-django.core.exceptions.ImproperlyConfigured: mysqlclient 1.3.13 or newer is required; you have 0.9.3.
(从 gcloud 中的错误日志中复制的错误)我在本地也遇到了同样的错误,所以我应用了这个解决方案,我在我的 PC 上本地更改了 base.py 和 operations.py 文件并且它有效 -
Django - installing mysqlclient error: mysqlclient 1.3.13 or newer is required; you have 0.9.3
但现在我在谷歌云平台上部署 webapp 后面临同样的问题。
关于如何编辑 gcloud 上其他解决方案中指定的同一组文件的任何建议?还是有其他解决方案?
【问题讨论】:
-
您使用的是哪个版本的 Django?您使用的是 App Engine 标准版还是灵活版?
-
Django 2.2.1 和 App Engine 标准 @Nibrass H
标签: mysql django google-app-engine google-cloud-platform gcloud