[英]the command name 'hg' cannot be found with 'executable find'
我是emacs的新用戶,並且主要是在python編程時嘗試安裝ropmacs。 所以我使用了命令: Mx el-get-install ropemacs
。 但這給了我以下錯誤:“' the command name 'hg' cannot be found with 'executable find
' the command name 'hg' cannot be found with 'executable find
我完全不了解它,還建議是否還有其他可以進行重構的插件,等等,我對ropmacs期望如此。
PS我在OS X 10.9上運行Emacs 24.3
您的系統中缺少Mercurial 。 它是像Git或Bazaar這樣的分布式版本控制系統。 El-get嘗試從其存儲庫下載ropmacs,但失敗。
或者也可以安裝它,但是您的可執行路徑中沒有它。 要檢測Mercurial的安裝位置,請鍵入: whereis hg
或type -a hg
。 普通的它位於/usr/bin/hg
。 在其他情況下,您必須將路徑添加到PATH
變量。 在Linux上打開~/.bashrc
,在OS X上打開~/.bashrc
~/.bash_profile
並追加:
export PATH=$PATH:/path/to/hg/directory
您可以在本文中找到有關更改PATH變量的更多信息。
這篇文章可能會有所幫助:
http://edward.oconnor.cx/2008/02/ropemacs
下載Pymacs,然后安裝python setup.py
下載繩子,然后安裝python setup.py
下載ropapmacs,然后安裝python setup.py
確保pymacs.el在您的Emacs加載路徑中。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.