在mac osx上配置RBTools时发生Python版本不匹配错误

2024-10-16 20:44:06 发布

您现在位置:Python中文网/ 问答频道 /正文

我试图在mac操作系统上配置RBTools,但在设置repo时遇到了一个问题。 这是我得到的错误。在

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

当我尝试运行彩铃安装程序存储库时遇到此错误。在

在这方面的任何帮助都将是非常有帮助的,我从过去的一个星期就被这个打动了。在


Tags: the版本modulesversionmac错误withextension
1条回答
网友
1楼 · 发布于 2024-10-16 20:44:06

我认为这是RBTools程序集中的一个bug。我申请了this ticket。在这里可以看到更多关于我如何解决问题的细节,但是具体地说,去看看/usr/local/bin/rbt并将shebang从python2.6改为{},这样你应该很好。在

相关问题 更多 >