Python Install - compile from source with SSL module, pip TLS/ SSL - Debian, Ubuntu

Veröffentlicht am: 25 Februar 2021
auf dem Kanal: datyrlab
7,058
86

0:00 - here, I'll first demonstrate a pip warning when Python is configured without the SSL module

1. if you are installing Python from scratch then follow this step by step guide
------------------------------
4:15 - install dependent libraries with sudo apt
11:05 - download the Python source file and unpack to a directory
17:22 - check any Python versions that are currently installed
20:32 - update the file 'setup.dist' located in the directory 'modules' with the path to openssl
28:56 - run configure with SSL enabled to create a Makefile
33:17 - run make to compile Python
39:43 - test your different Python versions and validate the SSL module is working for pip

2. if you are installing Python from scratch and prefer to run an automated script then I'll walk you a script that I've written
Note: I've split the script into functions and show how to run each function or all in one pass
script: https://github.com/datyrlab/python/tr...
------------------------------
50:37 - run script

3. if you have already compiled Python and you would like to fix the SSL warning then go directly to this chapter and I'll show you how
------------------------------
20:32 - first make the necessary changes to your setup.dist file shown in previous chapter
1:06:44 - recompile Python with SSL enabled

in my first Python install video I'd shown how to switch between Python versions using 'update-alternatives'
   • Python Install - from source, multiple ver...  

  / datyrlab  


Auf dieser Seite können Sie das Online-Video Python Install - compile from source with SSL module, pip TLS/ SSL - Debian, Ubuntu mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer datyrlab 25 Februar 2021 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 7,058 Mal angesehen und es wurde von 86 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!