簡體   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