2015-06-20 148 views
3

嘗試自動安裝Emacs軟件包時出現此錯誤。Emacs無法找到要安裝的軟件包

Warning (initialization): An error occurred while loading `/Users/username/.emacs.d/init.el': 

File error: http://melpa.org/packages/projectile-20150619.800.el, Not found 

To ensure normal operation, you should investigate and remove the 
cause of the error in your initialization file. Start Emacs with 
the `--debug-init' option to view a complete error backtrace. 
+0

你能連接到瀏覽器中的melpa嗎? –

+0

是的,Emacs無法找到該軟件包。 *問題是什麼?* – Drew

回答

2

下面是我的解決方案:

  • 打開瀏覽器,然後輸入:http://melpa.org/

  • 搜索包名: '彈'

  • 然後下載並解壓包進入〜/ .emacs.d/elpa

3

您需要先更新ELPA軟件包歸檔文件M-x package-refresh-contents,因爲您的軟件已經過時,因此軟件包管理器無法爲您下載軟件包。

您也可以安裝Package Menu(通過M-x list-packages進入)的軟件包,刷新將自動完成。

相關問題