When building a local development environment with a combination of titles, I didn't get any good information, so make a note of it.
Premise that fish (shell) is already used.
Make Python 3.8 available for projects under development with VS Code.
Omitted
Do it via Homebrew.
brew install pyenv
Create a new file below.
~/.config/fish/conf.d/pyenv.fish
pyenv init - | source
Settings as in the official documentation. There is a lot of information on the net that contains settings using the psub command, but they may be old settings.
$ pyenv install 3.8.2
#Run in the root directory of your project using the installed Python
$ pyenv local 3.8.2
# .python-There should be a file called version
$ ls .python-version
.python-version
#Check Python version
$ python --version
Python 3.8.2
#Creating a virtual environment
python -m venv venv
vscode When I opened this project (directory), the virtual environment (python under venv) was recognized without permission.