[Django]-Error when ex mkvirtualenv in Mountain Lion


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.


Leave a comment