[CentOS] Calibre installation fails on C7
Fred Smith
fredex at fcshome.stoneham.ma.us
Wed Dec 23 14:37:37 UTC 2015
On Tue, Dec 22, 2015 at 09:33:17PM -0800, John R Pierce wrote:
> On 12/22/2015 7:06 PM, Fred Smith wrote:
> >Attempting to install latest Calibre on Centos-7, getting:
> >
> >2015-12-22 21:32:38 URL:https://raw.githubusercontent.com/kovidgoyal/calibre/master/setup/linux-installer.py [25887/25887] -> "-" [1]
> >Installing to /home/fredex/calibre-bin/calibre
>
> prefixing this with, I have no idea what Calibre is...
Calibre is a powerful e-book management program (take a look at
calibre-ebook.com), written in Python.
>
>
> What commands did you run to trigger this error?
the recommended way to install it on Linux systems is:
sudo -v && wget -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()"
there are a couple of alternatives but they're all very much like that.
here's what I actually ran the last time I attempted this:
wget -nv -O- https://raw.githubusercontent.com/kovidgoyal/calibre/master/setup/linux-installer.py | python -c "import sys; main=lambda x,y:sys.stderr.write('Download failed\n'); exec(sys.stdin.read()); main('~/calibre-bin', True)"
2015-12-22 07:44:40 URL:https://raw.githubusercontent.com/kovidgoyal/calibre/master/setup/linux-installer.py [25887/25887] -> "-" [1]
Installing to /home/fredex/calibre-bin/calibre
Downloading tarball signature securely...
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "<string>", line 670, in main
File "<string>", line 655, in run_installer
File "<string>", line 627, in download_and_extract
File "<string>", line 619, in get_tarball_info
File "<string>", line 578, in get_https_resource_securely
File "<string>", line 487, in __init__
File "/usr/lib64/python2.7/httplib.py", line 1182, in __init__
context.load_cert_chain(cert_file, key_file)
ssl.SSLError: [SSL] PEM lib (_ssl.c:2757)
googling for that doesn't turn up much help for Calibre, though similar
(but different) sets of errors turn up in a lot of places. So far I've
not found any of them helpful.
One of them said something about the installed Python packages being
broken in some way, and that if he rebuilt it from source and installed
his that the problem went away. But I'm not yet ready to go that
effort, still holding out for a simpler solution.
I also posted on the Calibre fora (forums for the Latinly-challenged)
and am waiting for advice there.
Fred
--
---- Fred Smith -- fredex at fcshome.stoneham.ma.us -----------------------------
God made him who had no sin
to be sin for us, so that in him
we might become the righteousness of God."
--------------------------- Corinthians 5:21 ---------------------------------
More information about the CentOS
mailing list