Set up environment in VSC
-
Open VSCode in your repository folder
-
Use
Ctrl+Shift+P
to open command entry -
Enter
>Python: Select Interpreter
and clickEnter
-
Select option "Enter interpreter path..."
-
Select option "Find..."
-
Navigate to
- Windows:
NNEVE/.tox/devenv/Scripts/python.exe
- Linux:
NNEVE/.tox/devenv/bin/python
- Windows:
-
Select file
python.exe
-
Use
Ctrl+Shift+P
to open command entry -
Enter
>Developer: Reload Window
and clickEnter
-
Open terminal by pulling from edge of status bar
-
Use trash can icon to kill it
-
Repeat step 11.
-
Now you should have
(devenv)
prefix before your command prompt -
If you don't have this prefix, manually activate environment:
- Windows:
".tox/devenv/Script/activate"
- Linux:
source ".tox/devenv/bin/activate"
- for more see this