fork download
  1. activate_this = '/home/name/env/bin/activate_this.py'
  2. execfile(activate_this, dict(__file__=activate_this))
  3.  
  4. import os
  5. import sys
  6.  
  7. path = '/home/name/env/newsdiary'
  8. if path not in sys.path:
  9. sys.path.append(path)
  10. os.environ['DJANGO_SETTINGS_MODULE'] = 'newsdiary.settings'
  11.  
  12. import django.core.handlers.wsgi
  13. application = django.core.handlers.wsgi.WSGIHandler()
Runtime error #stdin #stdout #stderr 0.01s 7688KB
stdin
Standard input is empty
stdout
Standard output is empty
stderr
Traceback (most recent call last):
  File "prog.py", line 2, in <module>
IOError: [Errno 2] No such file or directory: '/home/name/env/bin/activate_this.py'