Last active
April 21, 2023 23:48
-
-
Save gregjhogan/021518aa9bbdbf05d77479144b457108 to your computer and use it in GitHub Desktop.
Ubuntu 20.04 upgrade pyOpenSSL and cryptography
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# python3-openssl is broken on ubuntu 20.04 (incompatible with python3-cryptography) | |
# remove these apt packages without removing their dependencies | |
# install latest version of these packages into system python | |
# then after re-installing the apt packages the pip installed packages are still used | |
sudo apt-get install -y python3-pip | |
sudo dpkg -r --force-depends python3-openssl python3-cryptography | |
sudo pip3 install pyopenssl cryptography | |
sudo apt-get install -y --fix-missing python3-openssl python3-cryptography |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment