No module named jupyterhub-idle-culler

I feel like I’m missing something very basic here, so hopefully someone can point me in the right direction.

I’m trying to setup jupyterhub-idle-culler as a standalone script using python 3.9.7, using the info at GitHub - jupyterhub/jupyterhub-idle-culler: JupyterHub service to cull idle servers and users. OS is Rocky Linux 8.6.

‘pip install jupyterhub-idle-culler’ works fine.

pip list | grep cull
jupyterhub-idle-culler 1.2.1


python3 -m jupyterhub-idle-culler
/mnt/local/python3.9/bin/python3: No module named jupyterhub-idle-culler

which python3

$ which pip


Can you try jupyterhub_idle_culler (_ instead of -). If that works would you mind opening a PR to fix the readme?

1 Like

Thank you manics. Replacing the - with _ fixes the python module error. I will attempt to figure out the PR process and put this in.