`python3.10 -m venv` or `python3.11 -m venv` the default approach works fine and I don't need pip anything to get a virtualenv, what's the selling point of pyenv?
Yeah “pyenv install 3.10.8” is basically rocket surgery, near impossible to learn.
$ pyenv install 3.11-dev (or use pyenv install --list to show list all available versions to install)
Use it in your current shell: $ pyenv shell 3.11-dev
Use it in the project directory: $ pyenv local 3.11-dev
Use it as the global default: $ pyenv global 3.11-dev
All of the mentioned commands can be called with no arguments to show the current python version for the context.There you go, now you know pyenv. Call it with no arguments to show the other possible commands.