Closed danlester closed 4 years ago
I don't know if this can help. But nb_conda_kernels is using a special run script to execute the kernel within a conda environment.
More information:
spec['argv'] = ['python', '-m', 'nb_conda_kernels.runner'] + [conda_prefix, env_path] + spec['argv']
@fcollonval Thank you so much for the pointer! I was aware of nb_conda_kernels and felt the answer must be in there somewhere... Thanks for locating it, I hope - I'll try it out anyway.
Dan
This is now available in version 0.3.0 - thanks for the input @fcollonval !
Multiple conda envs work correctly in Voila since the conda env name is embedded in the ipynb.
For the other frameworks, the user should be able to select from a list of available envs when they create the dashboard.
To try, on TLJH:
If jhsingle-native-proxy adds something like this before the 'real' command:
Then there is an error because the conda command 'eats' all of the command line and doesn't like e.g. '-m' of python -m.
simpervisor/process.py is usingasyncio.create_subprocess_exec instead of asyncio.create_subprocess_shell which could be the problem.
So this still needs some investigation.