Skip to main content
3 events
when toggle format what by license comment
Apr 19, 2023 at 20:57 comment added TomasLangebaek I had to run a pyenv shell for the selected python version: pyenv shell 3.11.3 and then run python -m venv env to create the virtual environment. This creates a virtual environment with the name env that uses python 3.11.3. To install python versions use pyenv install 3.11.2. And in order to use the shell you might need to follow prompted configuration steps when using it for the first time with the command pyenv shell 3.11.3.
Dec 1, 2020 at 11:01 comment added bluu As mentionned in a comment to another answer: it's even easier to use the provided pyenv-virtualenv with pyenv (cf realpython.com/intro-to-pyenv/#virtual-environments-and-pyenv )
Aug 16, 2019 at 16:37 history answered brandonbanks CC BY-SA 4.0