繁体   English   中英

在Mac OS X上配置RBTools时出现Python版本不匹配错误

[英]Python version mismatch error while configuring the RBTools on mac osx

我试图在Mac OS上配置RBTools,但设置存储库时遇到了问题。 这是错误越来越。

ImportError: Python minor version mismatch: The Mercurial extension modules were compiled with Python 2.7.5, but Mercurial is currently using Python with sys.hexversion=33949936: Python 2.6.8 (unknown, Mar  9 2014, 22:16:00) \n', '[GCC 4.2.1 Compatible Apple LLVM 5.0 (clang-500.0.68)]\n', ' at: /usr/bin/python\n'

我已经用python 2.6.8版安装了RBTools v0.7.4,并且我也有python 2.7.5版。

这是完整的追溯http://pastie.org/10332044

当我尝试运行rbt setup-repo时遇到此错误。

过去一周以来,对此的任何帮助都将为我们带来巨大帮助。

我认为这是RBTools程序集中的错误。 为此提交了这张票 查看有关如何在此处进行故障排除的更多详细信息,但具体来说,请查看/usr/local/bin/rbt并将shebang从python2.6更改为python ,您应该会很好。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM