+ 5
why virtual environment can't be activated in (git )
I'm using python virtual environment (venv) in one of my projects and when I try to activate the environment in windows native shell it works just fine, but when I use the git shell, it says that the command is not recognized. Any ideas why that is happening in git. and how to go about to fix it?
2 Respostas
+ 1
The git shell for Windows is already a virtual environment. Keep the two windows open: the git shell and the Windows shell with Python venv.
+ 4
@Fabricio thx. a better way to do it is open cmd and activate the venv just like normal and then type bash in cmd. it will run bash in the windows shell, and it's just the same