Open bwalsh opened 7 months ago
Copying over some info from @bwalsh:
Use pyenv to set python 3.12 on terra.
# install pyenv
curl https://pyenv.run/ | bash
# setup your path
cat ~/.bashrc
>>> export PYENV_ROOT="$HOME/.pyenv"
>>> [[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"
source ~/.bashrc
# confirm installation ok
pyenv versions
# install 3.12
pyenv install 3.12
# update 3.12 for our project
cd /home/jupyter/vrs-python-testing
pyenv local 3.12
# re-create vent
rm -r vent
# setup venv …. pip install ….
It would be nice to have "latest-and-greatest" python on terra. A terra VM is essentially a docker container. There are no sudo privileges. (Based on previous attempts, this may not be realistic and we will need to settle for 3.10)