日韩av黄I国产麻豆传媒I国产91av视频在线观看I日韩一区二区三区在线看I美女国产在线I麻豆视频国产在线观看I成人黄色短片

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 >

[spacemacs]git下载出错

發布時間:2023/12/14 32 豆豆
生活随笔 收集整理的這篇文章主要介紹了 [spacemacs]git下载出错 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

https://github.com/syl20bnr/spacemacs

報錯如下:

lihaiyan@lihaiyan-sh:~/Downloads/spacemacs$ git clone https://github.com/syl20bnr/spacemacs ~/.emacs.d
Cloning into ‘/home/lihaiyan/.emacs.d’…
fatal: unable to access ‘https://github.com/syl20bnr/spacemacs/’: gnutls_handshake() failed: The TLS connection was non-properly terminated.

同ping 不通該網站:
lihaiyan@lihaiyan-sh:/usr/bin$ ping github.com
PING github.com (13.250.177.223) 56(84) bytes of data.
^C
— github.com ping statistics —
56 packets transmitted, 0 received, 100% packet loss, time 56299ms

解決方法:
sudo vim /etc/hosts

在文件添加:
192.30.253.113 github.com

安裝步驟:

Default installationIf you have an existing Emacs configuration, back it up first:cd ~mv .emacs.d .emacs.d.bakmv .emacs .emacs.bakDon't forget to backup and remove ~/.emacs file otherwise Spacemacs WILL NOT load since that file prevents Emacs from loading the proper initialization file.Clone the repository:git clone https://github.com/syl20bnr/spacemacs ~/.emacs.dmaster is the stable branch and it is immutable, DO NOT make any modification to it or you will break the update mechanism. If you want to fork Spacemacs safely use the develop branch where you handle the update manually.(Optional) Install the Source Code Pro font.If you are running in terminal you'll also need to change font settings of your terminal.Launch Emacs. Spacemacs will automatically install the packages it requires. If you get an error regarding package downloads then you may try to disable the HTTPS protocol by starting Emacs withemacs --insecureOr you can set the dotspacemacs-elpa-https to nil in your dotfile to remove the need to start Emacs with --insecure argument. You may wish to clear out your .emacs.d/elpa directory before doing this, so that any corrupted packages you may have downloaded will be re-installed.Restart Emacs to complete the installation.If the mode-line turns red then be sure to consult the FAQ.

總結

以上是生活随笔為你收集整理的[spacemacs]git下载出错的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。