蟒蛇 – 在小牛上跑步 - 代码日志

蟒蛇 – 在小牛上跑步

似乎Mercurial不运行在小牛(Python 3)。任何人找到一个解决方案。

abort: couldn't find mercurial libraries in [
    /Library/Python/2.7/site-packages/ 
    /usr/local/bin 
    /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python27.zip 
    /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 
    /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-darwin /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac 
    /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages 
    /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python 
    /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-old 
    /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/PyObjC 
    /Library/Python/2.7/site-packages
]
(check your install and PYTHONPATH)
昨天晚上,我有一个类似的问题升级到OX 10.9小牛。注意:我使用自制软件,我试过了
    brew安装hg和brew更新,但是它们没有起作用,因为每个人的系统都不同,我建议运行
    酿造医生
看看你的具体问题是什么,在我的情况下,我有以下几个;

Warning: You have unlinked kegs in your Cellar
Leaving kegs unlinked can lead to build-trouble and cause brews that depend on
those kegs to fail to run properly once built. Run `brew link` on these: mercurial

所以要解决我的跑步问题;

酿造链接–overwrite mercurial

http://stackoverflow.com/questions/19544595/running-mercurial-on-mavericks

本站文章除注明转载外,均为本站原创或编译
转载请明显位置注明出处:蟒蛇 – 在小牛上跑步