gpt4 book ai didi

python - 无法使用 django 1.4 运行 mongodb

转载 作者:可可西里 更新时间:2023-11-01 10:44:35 27 4
gpt4 key购买 nike

我正在使用虚拟环境。我使用这些包来安装 pymongo。

https://github.com/django-nonrel/django-1.4

https://bitbucket.org/wkornewald/djangotoolbox/get/tip.tar.gz

https://github.com/django-nonrel/mongodb-engine/tarball/master

这是我遇到的错误:

Traceback (most recent call last):
File "C:\virtual\please\lib\site-packages\djangotoolbox\db\base.py", line 94,
in __init__
super(NonrelDatabaseOperations, self).__init__()
TypeError: __init__() takes exactly 2 arguments (1 given)

最佳答案

django-nonrel 1.4分支目前有免责声明:

 "Work in progress 1.4 port, DON'T USE".

您应该改用稳定的 django-nonrel分支机构。

关于python - 无法使用 django 1.4 运行 mongodb,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12451481/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com