【发布时间】:2012-09-16 23:10:48
【问题描述】:
我正在使用虚拟环境。我使用这些包来安装 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)
【问题讨论】:
-
您的整个帖子被格式化为代码块。请避免这种情况。