Superlance is a collection of plugin/monitor scripts for the Supervisor process control system. Version 2.0.0 introduces a major restructuring: it now requires Python 3.6+ and Supervisor 4+, and all scripts are installed as console scripts (e.g., `memmon`, `httpok`). The library is actively maintained with a mature API.
pip install superlanceVerified import paths — ran on the pinned version, not inferred.
Verify that Superlance is installed and importable. Superlance scripts are typically run as command-line programs, not imported as libraries.
Upgrade to Python 3.6+ and Supervisor 4+. Alternatively, use `pip install superlance==1.0.2`.
Run `memmon` instead of `python -m superlance.memmon`.
Ensure you have properly configured the [eventlistener:xxx] section in supervisord.conf and that the script path points to the correct console script.
Run `pip install superlance` in the correct Python environment.
Ensure superlance is installed in the same Python environment as supervisord. Use `which memmon` to locate, or run `python -m superlance.memmon` if using superlance <2.0.0.
Add an eventlistener section in supervisord.conf, e.g.: [eventlistener:memmon] command=memmon events=PROCESS_STATE