0
OSX5에서 Python 2.6과 함께 제공되는 OSX5로 업그레이드했습니다. 그런 다음 Python 2.6을 사용하기 위해 pymongo를 다시 설치해야했지만, 문제가 발생했습니다. easy_install 또는 pip를 실행하면 python 2.5 디렉토리에 pymongo를 계속 설치합니다. 아래 터미널 출력을 참조하십시오. 누구든지 도와 줄 수 있습니까? Python 2.6에서 pymongo를 설치하려면 어떻게해야합니까? 감사!Python 2.6 용 pymongo 설치 문제
localhost:~ $ sudo easy_install -U setuptools
Password:
Searching for setup tools
Reading http://pypi.python.org/simple/setuptools/
Reading http://peak.telecommunity.com/snapshots/
Best match: setuptools 0.6c12dev-r88846
Processing setuptools-0.6c12dev_r88846-py2.6.egg
setuptools 0.6c12dev-r88846 is already the active version in easy-install.pth
Installing easy_install script to /usr/local/bin
Installing easy_install-2.6 script to /usr/local/bin
Using /Library/Python/2.6/site-packages/setuptools-0.6c12dev_r88846-py2.6.egg
Processing dependencies for setuptools
Finished processing dependencies for setuptools localhost:~
$ python -m easy_install pymongo
Searching for pymongo
Best match: pymongo 2.0
Adding pymongo 2.0 to easy-install.pth file
Using /Library/Python/2.5/site-packages
Processing dependencies for pymongo
Finished processing dependencies for pymongo