Hg-git - No module named ordereddict

903 views Asked by At

I think I have installed Hg-Git correctly however when I try to push to a Git server it throws this error:

No module named ordereddict

What is the cause of this error, and how do I fix it?

1

There are 1 answers

1
Chris On BEST ANSWER

It means that the ordereddict module cannot be found. This is probably the one being referenced.

You may be able to fix the error by installing the third-party module linked above, likely via your operating system's package manager or via pip, depending on your needs.

Python has natively had an ordered dictionary type since version 2.7, so you may also be able to fix it by upgrading your Python to 2.7, but this will only work if the code is designed to use the native class if it is available.