Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/ssl/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Pdf Calibre无法安装_Pdf_Ssl_Calibre - Fatal编程技术网

Pdf Calibre无法安装

Pdf Calibre无法安装,pdf,ssl,calibre,Pdf,Ssl,Calibre,尝试在Linux上使用本页中的说明安装PDF转换器Calibre时: 我得到这个错误: # 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上使用本页中的说明安装PDF转换器Calibre时:

我得到这个错误:

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