gpt4 book ai didi

pdf - Calibre 安装失败

转载 作者:太空宇宙 更新时间:2023-11-03 14:58:05 24 4
gpt4 key购买 nike

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

http://calibre-ebook.com/download_linux

我收到这个错误:

# 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 方法,但没有任何区别。

最佳答案

在该页面上向下滚动,第一个要点:

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()"

关于pdf - Calibre 安装失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26615914/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com