I am trying to install mongodb_engine with my python django application, however I am getting this error
Cannot find command 'git'
I am trying this command from mongodb documentation. http://django-mongodb-engine.readthedocs.org/en/latest/topics/setup.html
pip install git+https://github.com/django-nonrel/[email protected]
I believe git here is causing the problem since the project is stored in git repo. Is there a way to install git to run this pip command? I tried multiple sources but wasn't able to get it to work.
Download and Install git in your windows from here:
https://git-scm.com/download/win
Then add its installation bin path to your windows's environment path. Then you will find the git command at the command prompt globally.
This may solve you problem.
How to change environment variables : Git: Installing Git in PATH with GitHub client for Windows
For Visual studio code restart after adding the environment variables