Objective c 椰子荚。pod安装、核心打印时找不到可执行文件“hg”错误,

Objective c 椰子荚。pod安装、核心打印时找不到可执行文件“hg”错误,,objective-c,macos,cocoapods,Objective C,Macos,Cocoapods,(下次你可能想感到幸运) 您需要Mercurial来安装CorePlot吊舱 user$ pod install Analyzing dependencies CocoaPods 0.21.0.rc1 is available. Downloading dependencies Installing CorePlot (1.2) [!] Unable to locate the executable `hg` Content of Podfile: ****************

(下次你可能想感到幸运)

您需要Mercurial来安装CorePlot吊舱

user$ pod install

Analyzing dependencies

CocoaPods 0.21.0.rc1 is available.

Downloading dependencies

Installing CorePlot (1.2)

[!] Unable to locate the executable `hg`


Content of Podfile:
**********************
platform :ios

pod 'CorePlot',      '~> 1.2'
****************************
将解决此问题(假设您已经使用brew)。
否则,只需从安装。从以下url手动下载mercurial:


制定一个问题如何?您是UNIX计算机吗?你在写什么语言?Mac OS mountain Lion。目标CGave me错误:brew安装mercurial不满足依赖关系:docutilson控制台Homebrew不提供Python依赖关系;安装方式:pip install docutils错误:未满足的要求使此生成失败。@neo按照此错误的指示执行,然后运行
pip install docutils
,然后再次运行。是的,我执行了。pip安装docutils给了我另一个错误:-bash:pip:command未找到,所以,我没有sudo easy\u安装pip。然后运行“pip安装文档”。成功了。运行了“brew安装mercurial”,它成功了。然后我运行了“pod安装”,它不再给我那个“hg”错误了,但现在仍然停留在“安装CorePlot(1.2)”。当我进入pod内的coreplot文件夹时,我发现文件夹内除了“获取信息”之外什么都没有,而且大小一直在增加。我留了一夜,第二天早上是零。终端仍然显示安装CorePlot(1.2)。奇怪。我今天早上试过了,效果不错。我得等一个小时。文件夹增加了515 mb以上。这个链接让我等待,它起作用了。谢谢大家。
brew install mercurial