Windows Mercurial - Python Version?

What version of Python is required to run Mercurial? I see that the site says it needs 2.4. Does this mean 2.4 or 2.x? or something larger than 2.4, i.e. can i install 3.x?

I installed Mercurial without reading the requirements, and I installed it anyway, and hg.exe runs fine. Looking at the directory where hg.exe lives ( C:\Program Files\Mercurial\ ), it has python26.dll . Does this mean that I do not have to install Python - that is, it is associated with Mercurial?

thanks

+4
source share
2 answers

Yes, it comes bundled. If you install Mercurial using the Windows installer, you don’t have to worry about which version of Python you are using. Mercurial uses py2exe to create an executable that runs without installing Python.

+10
source

Python 3.x is not compatible with 2.x.

If Mercurial supports 2.4 and higher, you better install python 2.6.x.

Yes, there are installers that come bundled with python.

At the command prompt, you run the following command, and if you do not get any errors, you intend to use mercurial

 > hg version > hg debuginstall > hg test_mercurial > cd test_mercurial 
+1
source

All Articles