Python app down on Dreamhost

November 7, 2017
Tags: » python » dreamhost

Last night, right before bed I decided to check out my websites hosted on Dreamhost real quick. (Bad idea, don’t do it right before bed.) To my surprise, instead of cute pics of my dog, I saw a fugly page with a stack trace I’ve never seen before.
stack track

Shocked, I got right onto it with debugging and googling. (Again, bad idea to do late at night.) In the end, till the next day, it took a bit more than a quick googling to find out what was going on. If you are in the same situation where you haven’t pushed anything new to the server but your web app is down, I hope this post helps.

Long story short, I’m running my Python app in a virtual environment on Dreamhost. Since Dreamhost recently upgraded their Python version, my virtual environment that was built on their older Python version broke. Snap!

Here’s the steps I took to revive my web apps:

After all the drama, my dog’s handsome face showed up again. (This place is for serious tech notes only. For cute doggie pictures, please visit

♥ Hi there, do you know you can also leave a comment as a guest?
When you click the Name text box, more content will show up. Check I'd rather post as a guest at the bottom of the text boxes, then you're good to go!