AWS Codecommit Git Clone error : fatal: unable to find remote helper for 'codecommit'

I found the solution for this. you have to have a version 3 or above version of python when you install git-remote-codecommit

pip install git-remote-codecommit

for some reason, it does not install correctly when python 2.7 is installed.

❯ git clone codecommit::us-east-1://my-repo-name
Cloning into 'my-repo-name'...
remote: Counting objects: 171562, done.
remote: processing
Receiving objects:  98% (118068/171562), 56.20 MiB | 3.09 MiB/s

it completed and worked properly afterwards.


I had the same issue on macOS and venv with clear python 3 resolved it.

python3 -m venv ~/Documents/venv
source ~/Documents/venv/bin/activate

Once venv activated install git-remote-codecommit and clone your repository

pip install git-remote-codecommit
git clone codecommit::us-east-1://my-repo-name