Skip to content

Commit

Permalink
added pyenv-virtualenv because it won't be removed from dotfiles and …
Browse files Browse the repository at this point in the history
…it is useful for local python versioning
  • Loading branch information
lorcanrae committed May 21, 2024
1 parent 626aafa commit 3aa6b2b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions _partials/ubuntu_python.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3aa6b2b

Please sign in to comment.