unable to execute clang: No such file or directory

Mountain LionRecently I finally got round to upgrading my main Mac at home to run Mountain Lion.  I have been SO busy over the last few months that a lot of my own work has had to put on the back burner.

Once I had upgraded, I ran a python script, but it failed to say psutil was no longer installed.  I still have the setup files, so I thought this would be a simple case of installing this again.  However when I ran python setup.py install, I got the following errors:

unable to execute clang: No such file or directory

error: Setup script exited with error: command 'clang' failed with exit status 1

To overcome this, I upgraded Xcode to the latest version, then once it was loaded I went into the Preferences, Moved across to the downloads tab then selected the Command line tools and installed them.

Preferences - Downloads - Command Line ToolsOnce they were installed, I could then install psutil once more.

I am always interested in your thoughts so if you have any comments or feedback then please feel free to add any comments, or you can mail me  here

Related Posts Plugin for WordPress, Blogger...

iMessage intermittent since iOS 7 upgrade

Omnifocus and Applescript templates