无法安装pymongo

时间:2011-11-24 04:40:30

标签: python mongodb python-3.x

我无法在python 3.2上使用easy_install安装pymongo。

    c:\Python32\Scripts>easy_install pymongo
...
    Processing pymongo-2.0.1.tar.gz
    Running pymongo-2.0.1\setup.py -q bdist_egg --dist-dir c:\users\rajesh\appdata\l
    ocal\temp\easy_install-dflvnv\pymongo-2.0.1\egg-dist-tmp-m35zko
    Traceback (most recent call last):
      File "c:\Python32\Scripts\easy_install-script.py", lin
    e 9, in <module>
        load_entry_point('distribute==0.6.21', 'console_scripts', 'easy_install')()
      File "c:\Python32\lib\site-packages\distribute-0.6.21-
    py3.2.egg\setuptools\command\easy_install.py", line 1876, in main
        with_ei_usage(lambda:

2 个答案:

答案 0 :(得分:0)

Python 3没有正式的PyMongo。

Is there an equivalent of PyMongo for Python 3.2?

如上所述,有一个半官方端口,在PyPI上可用作pymongo3:http://pypi.python.org/pypi/pymongo3

答案 1 :(得分:0)

试试这个

easy_install pymongo3