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

Publié le: 25 février 2021
sur la chaîne: 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  


Sur cette page du site, vous pouvez voir la vidéo en ligne Python Install - compile from source with SSL module, pip TLS/ SSL - Debian, Ubuntu durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur datyrlab 25 février 2021, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 7,058 fois et il a aimé 86 téléspectateurs. Bon visionnage!