Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

I can't deactivate virtual environment in python

I'm using VScode on windows, and the VScode terminal. I installed virtualEnv (with >>> pip install virtualenv )and everything was working correctly. Then I installed git, and after this, I couldn't deactivate the virtual environment and I don't see any errors too! I use this command: MyVirtualEnvName\scripts\deactivate

my problem is: now I can't deactivate virtualenv and the above command isn't working! how can I deactivate this?

like image 666
marziyeh seifi Avatar asked Oct 26 '25 18:10

marziyeh seifi


1 Answers

try just deactivate in the shell, instead of the path to the deactivate script

like image 56
Joe Carboni Avatar answered Oct 28 '25 07:10

Joe Carboni