2012-09-16 30 views
2

我正在使用虛擬環境。我使用這些軟件包來安裝pymongo。不能用django運行mongodb 1.4

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

您的整篇文章被格式化爲代碼塊。請避免這一點。 –

回答