diff --git a/_partials/ubuntu_python.md b/_partials/ubuntu_python.md index 6f191bf..7a23181 100644 --- a/_partials/ubuntu_python.md +++ b/_partials/ubuntu_python.md @@ -16,6 +16,13 @@ pyenv global 3.8.14 ``` Now `python --version` should return `3.8.14` +We'll also install a useful `pyenv` plugin called [`pyenv-virtualenv`](https://github.com/pyenv/pyenv-virtualenv). Although we will primarily be using `poetry` for package management, `pyenv-virtualenv` is useful for controlling the python version locally. + +```bash +git clone https://github.com/pyenv/pyenv-virtualenv.git $(pyenv root)/plugins/pyenv-virtualenv +exec zsh +``` + ## Pipx Next we are going to install [pipx](https://pypa.github.io/pipx/) to install python packages we want globally available while still using virtual environments