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

Robin Becker robin at reportlab.com
Thu Jan 30 14:18:11 CET 2014


On 29/01/2014 12:56, Robin Becker wrote:
...........
> 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?

To answer my own question I find that I can run services based on a virtual 
environment; just haven't been able to do so in a venv created by the enthought 
distribution of Python.
-- 
Robin Becker


More information about the python-win32 mailing list