views:

51

answers:

1

Last night I upgraded my machine to Ubuntu 10.04 from 9.10.

It seems to have cluttered my python module. Whenever I run python manage.py I get this error:

ImportError: No module named postgresql_psycopg2.base

Can any one throw any light on this?

A: 

You probably have inadvertently upgraded which version of python you're running. This means that your site-packages has likely moved, meaning you will need to reinstall them. Take a look at your python version:

$ python --version
Python 2.5.1

Once you have this, try re-installing your modules with either apt-get or easy_install.

Jack M.