When I try to activate my virtualenv from GIT bash mingw32 I do not get the expected response.
NOTE: py
is the folder for Python projects in my Google
I know there's an answer already on here but I thought I could post my solution for those coming to this post a lot later like me. After installing python 3.8.2 and making sure you selected add python to c drive path on the initial install, do the following...
Install virtualenv with pip install virtualenv
and then test.
Go into your project folder, type pip freeze
this will show all
the installed packages which may not be wanted for a new project.
Type python -m venv ./venv
and then cd venv
,
Type . Scripts/activate
. You should now see (venv)
, which is the name
you gave in step 3.
cd ..
back to the root of your project folder and type pip freeze
to
check this virtual environment if clear for a new project.
(venv) user@DESKTOP MINGW64 ~/Documents/yourproject