![]() |
#1 |
Zealot
![]() Posts: 109
Karma: 10
Join Date: Feb 2011
Device: Nook - Simple Touch
|
Linux install not working
I apologize in advance for lacking sufficient linux experience.
I've been unable to resolve this error: Python 3.9.6 (default, Aug 4 2021, 16:40:08) [GCC 9.3.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import _ssl Traceback (most recent call last): File "<stdin>", line 1, in <module> ModuleNotFoundError: No module named '_ssl' and when I try the install it says: essin:~/Downloads/Python-3.9.6$ sudo -v && wget -nv -O- https://download.calibre-ebook.com/linux-installer.sh | sudo sh /dev/stdin Using python executable: /usr/local/bin/python3 2021-08-04 17:33:38 URL:https://download.calibre-ebook.com/linux-installer.sh [31922/31922] -> "-" [1] Installing to /opt/calibre Downloading tarball signature securely... Traceback (most recent call last): File "<string>", line 1, in <module> File "<string>", line 800, in script_launch File "<string>", line 756, in main File "<string>", line 699, in run_installer File "<string>", line 669, in download_and_extract File "<string>", line 657, in get_tarball_info File "<string>", line 609, in get_https_resource_securely File "<string>", line 511, in __init__ File "/usr/local/lib/python3.9/ssl.py", line 737, in create_default_context context = SSLContext(PROTOCOL_TLS) File "/usr/local/lib/python3.9/ssl.py", line 483, in __new__ self = _SSLContext.__new__(cls, protocol) ssl.SSLError: ('No cipher can be selected.',) I have installed openssl and python was built with this option: --with-ssl-default-suites I have exhausted the possibilities that I am aware of. I would appreciate your help. Thank you, Dan Background environment: essin:~/Downloads/Python-3.9.6$ python -V Python 3.9.6 essin:~/$ uname -a Linux 5.4.0-80-generic (xubuntu) essin:~/Downloads/Python-3.9.6$ openssl ciphers TLS_AES_256_GCM_SHA384:TLS_CHACHA20_POLY1305_SHA25 6:TLS_AES_128_GCM_SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384 ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,253
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
I suggest you remove the special python you have built and just use the system python.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,179
Karma: 8800000
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
|
Quote:
Code:
essin:~$ sudo -v && wget -nv -O- https://download.calibre-ebook.com/linux-installer.sh | sudo sh /dev/stdin Code:
essin:~/Downloads/Python-3.9.6$ sudo -v && wget -nv -O- https://download.calibre-ebook.com/linux-installer.sh | sudo sh /dev/stdin |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Linux Install Help | rmatakajr | Calibre | 3 | 08-25-2010 06:22 PM |
cannot install in on Linux | ichthyosaur | Calibre | 1 | 12-31-2009 05:20 PM |
0.6.31 Linux install fails | reread | Calibre | 3 | 12-28-2009 03:00 PM |
0.6.10 Linux install issue | jquest | Calibre | 5 | 08-28-2009 10:58 AM |
Linux install | roger64 | Calibre | 2 | 04-23-2009 03:30 AM |