我正在使用虚拟环境。我使用这些软件包来安装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)
答案 0 :(得分:1)