0
why venv of python in vs code ran, when i called the terminal?
7 Antworten
+ 2
By default, the Python extension looks for and uses the first Python interpreter it finds in the system path.
Maybe you changed the preset or the Python interpreter (like if you have multiple Python versions or venv installed).
To select a specific environment, use the Python: Select Interpreter command from the Command Palette (Ctrl+Shift+P)
0
because vs code runs the python script in a virtual enviornment
0
so what should i do to fix the venv ? i want the venv not automaticlly running.
0
Why? But if you really wamt to there should be a setting in vs code for that. It's the safest way to do it with a venv cause it doesn't load your main python enviornment with unusable libraries. Its for using python scripts of different python generations
0
cause, when i called in other file the venv still automatis running and then when i called the new terminal the venv still automatis running. i want to deactivate the venv automaticlly
0
thanks before sir
0
thanks i've done for this problem