Open mnlevy1981 opened 2 years ago
Relatedly, does jupyter-forward
support having a configuration file somewhere on the remote machine? It seems like that would be a good place to store the value for --conda-location
instead of aliasing the command or having to provide it every time you try to connect.
On some systems, it makes sense for users to rely on system python and only use conda for certain tasks. E.g. someone who spends a lot of time running old code may want a default environment that uses python 2, and rather than set up
(base)
in that manner is content to use the out-of-the-box python environment.I removed the conda initialization from my
.tcshrc
file on the VM where I test usingtcsh
, and when I try to usejupyter-forward
to connect I get and error about being unable to findjupyter
:Is there some way to catch that the issue is actually that I commented out
(note that
$CONDA_PREFIX
is not defined without sourcing that file). One possible solution would be to pass an optional--conda-location
argument; between that argument andself.shell
maybe it would be possible to loadconda
before trying to do anything else?