【问题标题】:Unable to install pymongo无法安装 pymongo
【发布时间】:2011-11-24 04:40:30
【问题描述】:

我无法在 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:

【问题讨论】:

    标签: python mongodb python-3.x


    【解决方案1】:

    Python 3 没有官方的 PyMongo。

    Is there an equivalent of PyMongo for Python 3.2?

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

    【讨论】:

    【解决方案2】:

    试试这个

    easy_install pymongo3
    

    【讨论】:

      猜你喜欢
      • 2020-02-26
      • 1970-01-01
      • 2021-01-30
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-01-29
      • 1970-01-01
      • 2014-12-12
      相关资源
      最近更新 更多