couldn't find mercurial libraries : Windows 2000

北战南征 提交于 2019-12-11 04:56:13

问题


I think I have studied all the duplicates. I have built Mercurial 2.0.2 and I am using Python27. When I run hg, I get this error:

abort: couldn't find mercurial libraries in [f:\python27\Lib\site-packages f:python27\Scripts C:\WINNT\System32\python27.zip f:\python27\DLLs f:\python27\lib f:\python27\lib\plat-win f:\python27\lib\lib-tk f:\python27 f:\python27\lib\site-packages]

Directory of F:\Python27\Lib\site-packages:

08/03/2011  09:39                  121 README.txt

18/01/2012  20:24       <DIR>          mercurial

18/01/2012  20:24       <DIR>          hgext

19/01/2012  12:35                  250 mercurial-unknown-py2.7.egg-info

               2 File(s)            371 bytes

回答1:


{adding my comment as Answer}

When there's an exe available, it's easier to install than by source.

I recommend installing the official exe from the Mercurial site, built with InnoSetup so supports everything from Windows 2000 to Windows 8.

Download link



来源:https://stackoverflow.com/questions/8935063/couldnt-find-mercurial-libraries-windows-2000

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!