首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Calibre安装失败

Calibre安装失败
EN

Stack Overflow用户
提问于 2014-10-29 02:33:59
回答 1查看 618关注 0票数 0

尝试使用本页中的说明在Linux上安装Calibre、PDF转换器时:

http://calibre-ebook.com/download_linux

我得到了这个错误:

代码语言:javascript
复制
# python linux-installer.py
Installing to /opt/calibre
Downloading tarball signature securely...
Traceback (most recent call last):
  File "linux-installer.py", line 669, in <module>
    main()
  File "linux-installer.py", line 648, in main
    download_and_extract(destdir)
  File "linux-installer.py", line 620, in download_and_extract
    get_tarball_info()
  File "linux-installer.py", line 612, in get_tarball_info
    ('x86_64' if is64bit else 'i686'))
  File "linux-installer.py", line 576, in get_https_resource_securely
    c.connect()  # This is needed for proxy connections
  File "linux-installer.py", line 500, in connect
    self.sock = ssl.wrap_socket(sock, cert_reqs=ssl.CERT_REQUIRED, ca_certs=self.cert_file, ssl_version=self.calibre_ssl_version)
  File "/export/home/jm43436/build/anaconda/lib/python2.7/ssl.py", line 387, in wrap_socket
    ciphers=ciphers)
  File "/export/home/jm43436/build/anaconda/lib/python2.7/ssl.py", line 143, in __init__
    self.do_handshake()
  File "/export/home/jm43436/build/anaconda/lib/python2.7/ssl.py", line 305, in do_handshake
    self._sslobj.do_handshake()
ssl.SSLError: [Errno 1] _ssl.c:507: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed

我尝试了-- no -check-certificate方法,但没有什么不同。

EN

回答 1

Stack Overflow用户

发布于 2014-12-05 08:29:59

向下滚动该页面,第一个项目符号:

代码语言:javascript
复制
sudo -v &&
    wget --no-check-certificate -nv -O- https://raw.githubusercontent.com/kovidgoyal/calibre/master/setup/linux-installer.py |
    sudo python -c "import sys; main=lambda:sys.stderr.write('Download failed\n'); exec(sys.stdin.read()); main()"
票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/26615914

复制
相关文章

相似问题

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