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

Pubblicato il: 25 febbraio 2021
sul canale di: 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  


In questa pagina del sito puoi guardare il video online Python Install - compile from source with SSL module, pip TLS/ SSL - Debian, Ubuntu della durata di ore minuti seconda in buona qualità , che l'utente ha caricato datyrlab 25 febbraio 2021, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 7,058 volte e gli è piaciuto 86 spettatori. Buona visione!