AttributeError:连接google cloud store和djang时,模块“socket”没有属性“AF\u UNIX”

2024-06-28 10:59:18 发布

您现在位置:Python中文网/ 问答频道 /正文

我正在使用appengine环境的官方文档连接googlecloudstoremysql和django,给出如下:https://cloud.google.com/python/django/appengine 首先,我得到一个错误,mysqlclient 1.3.13或更新版本是必需的。为了解决这个问题,我使用了Django - installing mysqlclient error: mysqlclient 1.3.13 or newer is required; you have 0.9.3上给出的解决方案,但是当我这样做时,它会给出错误“AttributeError:module'socket'has no attribute'AFX\u UNIT'”。你知道吗


Tags: django文档https版本comcloud官方环境