Error when ex mkvirtualenv in Mountain Lion

大兔子大兔子 提交于 2019-12-06 02:30:30

You don't have setuptools installed,

Install it from here

if you upgraded from lion to mountain lion, the python install is broken due to some changes in the file-system, ideally you should install command line tools from xcode, then python from python website, then setuptools from python website and then pip via easy_install, everything will work afterwards.

Problem solved:

Xcode 4 doesn't automatically install the command line tools.

Basically, install Xcode, go into Preferences and then Downloads and install "Command Line Tools". It works now.

:)

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!