[python-win32] running a service within a virtual environment

Robin Becker robin at reportlab.com
Wed Jan 29 13:56:12 CET 2014


0) I'm trying to run a django app as a service using cherrypy
I have seen http://www.guguweb.com/2013/10/13/django-on-windows/ and that looks 
pretty good as a start.

1) The application is currently set up as a virtual environment, but it was 
created as using enthought python. It has pywin32 installed, but running 
pythonservice.exe gives an error "cannot import module site"


My questions are: should I dump enthought and install python and all the 
dependenxies normally?

Also is it possible/practical to get a service to run inside a python virtual 
environment?
-- 
Robin Becker


More information about the python-win32 mailing list