-
Notifications
You must be signed in to change notification settings - Fork 0
Setting Up PyENV for this Repository
Joel Mathew Thomas edited this page Jan 26, 2025
·
11 revisions
This guide provides step-by-step instructions on installing pyenv
, configuring it for your shell.
To install pyenv
, run the following commands based on your operating system.
sudo pacman -S pyenv
sudo apt install -y make build-essential libssl-dev zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev wget curl llvm libncursesw5-dev xz-utils tk-dev libxml2-dev libxmlsec1-dev libffi-dev liblzma-dev
curl https://pyenv.run | bash
Add the following lines to your shell config , ~/.bashrc
if you use bash, or ~/.zshrc
if you use zsh
export PATH="$HOME/.pyenv/bin:$PATH"
eval "$(pyenv init --path)"
eval "$(pyenv init -)"
pyenv --version
For this project, we are using Python 3.12.7
pyenv install 3.12.7
Navigate to the project directory.
./scripts/setup_env.sh