首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >下载melpa存档失败

下载melpa存档失败
EN

Stack Overflow用户
提问于 2016-04-30 04:48:15
回答 4查看 7.8K关注 0票数 1

我正在使用emacs 24.5和我试图添加到电子地图到我的软件包档案。当我尝试M-x list-packages时,我发现无法下载melpa存档,也没有显示melpa回购包的列表。以下是我尝试M-x toggle-debug-on-error时得到的

代码语言:javascript
运行
复制
Debugger entered--Lisp error: (error "Could not create connection to melpa.org:443")
signal(error ("Could not create connection to melpa.org:443"))
error("Could not create connection to %s:%d" "melpa.org" 443)
url-http([cl-struct-url "https" nil nil "melpa.org" nil "/packages/archive-  contents" nil nil t nil t] #[128 "\302\303\304p#\210\300\305\240\210\301p\240\207" [(nil) (nil) url-debug retrieval "Synchronous fetching done (%S)" t] 5 "\n\n(fn &rest IGNORED)"] (nil))
url-https([cl-struct-url "https" nil nil "melpa.org" nil "/packages/archive-  contents" nil nil t nil t] #[128 "\302\303\304p#\210\300\305\240\210\301p\240\207" [(nil) (nil) url-debug retrieval "Synchronous fetching done (%S)" t] 5 "\n\n(fn &rest IGNORED)"] (nil))
url-retrieve-internal("https://melpa.org/packages/archive-contents" #[128 "\302\303\304p#\210\300\305\240\210\301p\240\207" [(nil) (nil) url-debug retrieval "Synchronous fetching done (%S)" t] 5 "\n\n(fn &rest IGNORED)"] (nil) nil nil)
url-retrieve("https://melpa.org/packages/archive-contents" #[128 "\302\303\304p#\210\300\305\240\210\301p\240\207" [(nil) (nil) url-debug retrieval "Synchronous fetching done (%S)" t] 5 "\n\n(fn &rest IGNORED)"] nil nil nil)
url-retrieve-synchronously("https://melpa.org/packages/archive-contents")
url-insert-file-contents("https://melpa.org/packages/archive-contents")
package--download-one-archive(("melpa" . "https://melpa.org/packages/") "archive-contents")
#[0 "\301\300\302\"\207" [("melpa" . "https://melpa.org/packages/")
package--download-one-archive "archive-contents"] 3 "\n\n(fn)"]()
funcall(#[0 "\301\300\302\"\207" [("melpa" . "https://melpa.org/packages/")   package--download-one-archive "archive-contents"] 3 "\n\n(fn)"])
package-refresh-contents()
list-packages(nil)
call-interactively(list-packages record nil)
command-execute(list-packages record)
execute-extended-command(nil "list-packages")
call-interactively(execute-extended-command nil nil)
command-execute(execute-extended-command)

还有我的.emacs文件

代码语言:javascript
运行
复制
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
 '(package-archives
 (quote
(("gnu" . "http://elpa.gnu.org/packages/")
 ("melpa" . "https://melpa.org/packages/")))))
 (custom-set-faces
 ;; custom-set-faces was added by Custom.
 ;; If you edit it by hand, you could mess it up, so be careful.
 ;; Your init file should contain only one such instance.
 ;; If there is more than one, they won't work right.
 )
EN

回答 4

Stack Overflow用户

发布于 2016-05-05 13:23:25

我找到了问题is...to在emacs中下载密尔帕列表的确切位置(emacs必须访问互联网),所以您必须包括库文件才能从这里执行that...download that...download https://sourceforge.net/projects/ezwinports/files/ .解压下载的文件..。把.dll文件放到bin文件中.希望你对我的小小帮助满意:)

票数 1
EN

Stack Overflow用户

发布于 2017-10-13 21:00:16

我在Win7上有一个类似的问题,来自StackExchange的回答帮助了我。简而言之,您必须从GnuTLS下载编译好的Windows库和依赖项,并将其解压缩到emacs文件夹。如果您使用emacs-25-i686-deps.zip Windows,则获取32-bit;如果使用64-bit,则获取emacs-25-x86_64-deps.zip

票数 1
EN

Stack Overflow用户

发布于 2017-05-06 07:58:05

我有这个问题。这可能是一个$PATH问题。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/36950871

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档