Skip to content

Instantly share code, notes, and snippets.

@thomashollier
Last active May 16, 2023 22:54
Show Gist options
  • Save thomashollier/4c9ceaac3e7a15f153ef9df8588f98dc to your computer and use it in GitHub Desktop.
Save thomashollier/4c9ceaac3e7a15f153ef9df8588f98dc to your computer and use it in GitHub Desktop.
Steps to setup pyenv and setting up venv environnments for various AI and NeRF tools
# osX and linux
brew install pyenv
# osX install python deps
brew install openssl readline sqlite3 xz zlib tcl-tk
# debian/ubuntu python deps
sudo apt update;
sudo apt install build-essential libssl-dev zlib1g-dev \
libbz2-dev libreadline-dev libsqlite3-dev curl \
libncursesw5-dev xz-utils tk-dev libxml2-dev libxmlsec1-dev libffi-dev liblzma-dev
# debian
# version 3.9 and 3.11 on debian is a headache.
# this pointed to the apt installed openssl includes, which worked.
export CONFIGURE_OPTS="--with-openssl=/usr/"
# install python versions
pyenv install 3.8
pyenv install 3.9
pyenv install 3.10
pyenv install 3.11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment