7 ms·
Here's all the project boilerplate you need with pyenv when working on a new project. > $ pyenv install 3.8 > $ pyenv local 3.8 > $ python3 -m venv .venv >
by scriptme 2y ago
Here's all the project boilerplate you need with pyenv when working on a new project.
> $ pyenv install 3.8
> $ pyenv local 3.8
> $ python3 -m venv .venv
> $ source .venv/bin/activate
and you're done. Not really sure what you might consider difficult about pyenv, but it's just a tool to instigate your python venvs which is a built tool for most modern versions of python.
- 0x008 2y ago> Not really sure what you might consider difficult about pyenv - compiling from source - need to install build-essentials on docker images which takes up lot of space and takes a long time