Closed zainul1114 closed 1 year ago
The value of LMOD_CMD
is not defined when the notebook is launched.
Sep 1 11:41:15 master jupyterhub: KeyError: 'LMOD_CMD'
Is it correctly defined when you launch the JupyterHub service?
In my configuration I used c.Spawner.environment setting
c.Spawner.environment = {'LMOD_CMD' : '/path/to/lmod', 'MODULEPATH' : '/path/to/modulepath'}
Hi, Please help us to resolve the issue, eventhough jupyter-serverextension is OK, i am getting this issue.
[root@master jupyterhub]# jupyter-serverextension list config dir: /share/apps/platform/ai/python_versions/python3/3_6_8/etc/jupyter jupyterlab enabled
c.Spawner.env_keep = [ 'LMOD_CMD', 'MODULEPATH' 'PATH' 'PYTHONPATH', 'CONDA_ROOT', 'CONDA_DEFAULT_ENV', 'VIRTUAL_ENV', 'LANG', 'LC_ALL', 'JUPYTERHUB_SINGLEUSER_APP', ]
Logs:
Regards, zain