日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

[spacemacs]git下载出错

發布時間:2023/12/14 编程问答 29 豆豆
生活随笔 收集整理的這篇文章主要介紹了 [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下载出错的全部內容,希望文章能夠幫你解決所遇到的問題。

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