python django oserror code example Example: python django os error Make sure to activate virtualenv before running your app.