diff --git a/linux/workstation/python.markdown b/linux/workstation/python.markdown index 5172eb0e647ede44c3025d25ac7e2016c4910a15..34d84ad1df28f453af6d2e410a4d41aa84aadc17 100644 --- a/linux/workstation/python.markdown +++ b/linux/workstation/python.markdown @@ -51,3 +51,11 @@ ipython kernel install --name "opt-software-pyenv" --user ``` This creates a custom configuration `~/.local/share/jupyter/kernels/opt-software-pyenv/kernel.json` in your home. Inside JupyterHub you should now be able to pick this kernel in the `Kernel -> Change kernel` menu. + +### Use pyenv to install custom Python versions + +If you want to install your own Python versions, watch out to either not source our environment, or to redirect the pyenv installation to a location, where you have write access (either the local scratch or your home folder). + +``` +PYENV_ROOT=$HOME pyenv install <version> +```