Fixing 500 errors for Python based apps after recent upgrades

software development

#1

I run a small Django app on Dreamhost and after the recent upgrades to Ubuntu 12.04 I was getting an error stating:

I had everything running within a virtual environment so I could not understand why this error occurred.

I found that the solution was simply uninstalling, then reinstalling the MySQL libraries!

Make sure that you are within your virtual environment of course!


#2

Also if you’re running python through a virtual environment see this thread