Manage your virtual environment in the C: \ Users \ USERNAME \ env directory ENVNAME = environment name env = environment management folder name USERNAME = own username
C:\Users\USERNAME> python -m venv env/ENVNAME
C:\Users\USERNAME> env\ENVNAME\scripts\activate
(ENVNAME) C:\Users\USERNAME> \code
????? File in VScode> Preferences> Settings> Change python.venvPath to ~ / env? ??
Click Python x.x.x 64-bit in the bottom bar of VScode and select your environment to change
Using venv virtual environment with Python [Python3 x VS Code] Procedure to be performed when it is necessary to separate the execution environment (create a virtual environment)
Recommended Posts