Srini's Point of View

My thoughts on technology, food and other fancies…

Fix Python virtualenv errors after upgrading Lion to Mountain Lion

I upgraded the OS of my mac mini to Mountain Lion this weekend. Unfortunately it messed up all my python settings. When I ssh’d into the mac mini I saw an ugly python error. The gist of which was the following -

“ImportError: No module named virtualenvwrapper.hook_loader”

Basically I …

Python development setup on Mountain Lion - part 4

Setup Git on mountain lion to use github to save your projects

Continuing on my series, today we will be setting up git on our newly upgraded Mountain Lion.
Go ahead and download the latest version of git from here. Go ahead and install it. Next go and open an …

Python development setup on Mountain Lion - part 3

Eclipse setup to use python in a virtualenv

Today I will cover how to setup eclipse to use the python virtual environment we created in part 2 of this series.

When you first launch eclipse, create a new workspace and call it something relevant. I called it python273 and created …

Python development setup on Mountain Lion - part 2

Setup virtualenv and virtualenvwrapper on Mountain Lion

In the previous part I went through how you can have multiple versions of python and how you can easily switch between these versions. Here I will go through setting up virtualenv and virtualenvwrapper. This will help in keeping all the different versions …

Python development setup on Mountain Lion - part 1

Install and manage multiple versions of Python on Mountain Lion

When I was doing python development on snow leopard, I was installing python modules up the wazoo on the default python which came with the laptop. I later realized that was not the right way of doing it. To keep …