macOSX 및 virtualenv에 문제가 있습니다. 그것은 --no-site-package를 무시하는 것 같습니다. linux (archlinux)와 똑같은 명령을 사용하면 작동합니다. 그것은 2.5virtualenv macosX --no-site-package가 무시되었습니다.
curl -o virtualenv.py 'http://bitbucket.org/ianb/virtualenv/raw/tip/virtualenv.py
그것이
source foo/bin/activate
시도 거기에 뭔가를 설치 활성화 새로운 환경
python virtualenv.py --no-site-packages foo
New python executable in foo/bin/python
Installing setuptools...........................done.
만들기 파이썬으로에서라도 10.5 그것을. 시스템 전체
easy_install cherrypy
Searching for cherrypy
Best match: CherryPy 3.1.2
Adding CherryPy 3.1.2 to easy-install.pth file
Using /Library/Python/2.5/site-packages
Processing dependencies for cherrypy
Finished processing dependencies for cherrypy
를 설치 그러나 그것 (GCC 몇 가지 문제를 psycopg2를 설치 실패 그러나 모듈
(foo)guidage-multimodal:~ tristram$ python
Python 2.5.1 (r251:54863, Feb 6 2009, 19:02:12)
[GCC 4.0.1 (Apple Inc. build 5465)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import cherrypy
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named cherrypy
내가 virtualenv --no-site-packages and pip still finding global packages? 보고 후 PIP 시도를 찾을 수없는 위해 VIRTUALENV에도 불구하고 그것은 본다). 또한 전체 woork 않는 setup.py (배포)에서 할 수 싶습니다.
업데이트 그것은 MacOS 10.6에서 작동하도록되어 있습니다. 어쩌면 파이썬 2.5 이전 버전, 또는 설치가 깨졌습니다. 그래서 포기하고 macOS 10.6이 필요합니다 ...