我一直在撞牆試圖讓Mac OS X上的virtualenv(雪豹)與matplotlib和/或Enthought Python分佈很好地玩,以及後一堆不同的有用的建議我認爲我已經打破了我的裝置過去我恢復他們的能力。我現在處於一個虛擬技術不再起作用的地步;我希望如果有人能幫助我處理以下堆棧跟蹤:virtualenv打亂後與matplotlib/EPD
~ $ virtualenv foo
The --no-site-packages flag is deprecated; it is now the default behavior.
Traceback (most recent call last):
File "/Library/Frameworks/EPD64.framework/Versions/Current/bin/virtualenv", line 9, in <module>
load_entry_point('virtualenv==1.7', 'console_scripts', 'virtualenv')()
File "/Library/Frameworks/EPD64.framework/Versions/7.1/lib/python2.7/site-packages/virtualenv.py", line 928, in main
never_download=options.never_download)
File "/Library/Frameworks/EPD64.framework/Versions/7.1/lib/python2.7/site-packages/virtualenv.py", line 1029, in create_environment
site_packages=site_packages, clear=clear))
File "/Library/Frameworks/EPD64.framework/Versions/7.1/lib/python2.7/site-packages/virtualenv.py", line 1143, in install_python
mkdir(lib_dir)
File "/Library/Frameworks/EPD64.framework/Versions/7.1/lib/python2.7/site-packages/virtualenv.py", line 399, in mkdir
os.makedirs(path)
File "/Library/Frameworks/EPD64.framework/Versions/7.1/lib/python2.7/os.py", line 150, in makedirs
makedirs(head, mode)
File "/Library/Frameworks/EPD64.framework/Versions/7.1/lib/python2.7/os.py", line 157, in makedirs
mkdir(name, mode)
OSError: [Errno 20] Not a directory: 'foo/lib'
你可以運行ls -l〜/ foo並顯示輸出嗎? – mattbornski 2012-02-10 16:11:55