Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

make sure “C:\Python27\” is on path for system user (start->right click on “computer”->properties->advanced->environment variables), edit PATH if necessary

...

after install is done, type pip in the cmd prompt, if “not recognized” error, add “C:\Python27\Scripts" to path for system user (like described in 1)

 

3. Install pika, requests

...

1. Prepare a simple bat file to run extractor, like:

 c: cd C:\Program Files\ExtractorServices\cellprofilercd /d <full_path_to_extractor_directory>

 python cellprofiler_extractor.pypy >>  log_<some_extractor_specific_name> 2>&1

 

2. Convert bat file to exe file

...

Edit install.bat file changing NAME, DESC and EXE to reflect the name, description and executable file of your service.

Set HOME to the directory containing install.bat script

Run install.bat as administrator and install the service

 

5. Check that the correspondent queue was created on the rabbitmq server that the extractor connects to:

...