felipec / git-remote-hg

Transparent bidirectional bridge between Git and Mercurial for Git
GNU General Public License v2.0
369 stars 87 forks source link

json import failure #51

Closed ugorenner closed 5 years ago

ugorenner commented 8 years ago

When starting a clone without "json" python module (I use simplejson), I got the following error :

git clone "hg::ssh://<....>" profile.git Cloning into 'profile.git'... Traceback (most recent call last): File "/usr/bin/git-remote-hg", line 23, in import json ImportError: No module named json

felipec commented 8 years ago

What version of Python? From what I can see the json module is distributed with Python.

ugorenner commented 8 years ago

I use an old version : python 2.5

felipec commented 8 years ago

I see. Well, yeah, the json module is a requirement.

felipec commented 5 years ago

Almost everyone is using Python 2.7 now.