Hackable Mercurial Can't Find os Module
Jensen, Aaron
ajensen at webmd.net
Wed Aug 26 21:06:04 UTC 2015
I'm trying to get hackable Mercurial working [1] on Windows 7 x64. I've got Mercurial 2.5.4 installed with TortoiseHg 2.7.2.
My initial problem was the packaged hg.exe couldn't load the Python DLL. I found an old mailing list thread with this exact error [2], where the solution was to add the included hg-python26 directory to my PATH variable. I did that, but now I'm getting this error:
> .\hg.exe in
'import site' failed; use -v for traceback
Traceback (most recent call last):
File "F:\Build\hhg\hg", line 10, in <module>
import os
ImportError: No module named os
When I add the -v option for traceback, the error message is the same.
What additional setup steps do I need to do?
[1] https://mercurial.selenic.com/wiki/HackableMercurial
[2] https://selenic.com/pipermail/mercurial/2014-February/046641.html
More information about the Mercurial
mailing list