You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now edit that file and add an "env" key to that json. and add a dict with a "PATH" key to the binaries, as well as the other environmental variables, in your conda env like this:
need testingExtra attention is needed to work this out
1 participant
Converted from issue
This discussion was converted from issue #66 on May 19, 2022 04:41.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
So there's a couple of issues that may happen when running via a notebook initialized by jupyterhub if following the default tutorial:
python scripts like
AssignGenes.py
may complain that the file cannot be found and environmental variables set in~/.bash_profile
are not seen.This can be fixed by doing this:
Open a terminal and use
jupyter kernelspec list
to find the folder for your kernel.Go there and edit kernel.json, it should look something like this:
cd /home/jovyan/.local/share/jupyter/kernels/dandelion vi kernel.json
Now edit that file and add an "env" key to that json. and add a dict with a "PATH" key to the binaries, as well as the other environmental variables, in your conda env like this:
Restart the instance/kernel and it should start working.
Beta Was this translation helpful? Give feedback.
All reactions