Created
November 16, 2021 01:01
-
-
Save adithyan-ak/eeef273e366bcf0f285c7640f55b5ff3 to your computer and use it in GitHub Desktop.
Python2 Installation
This file contains hidden or 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
wget https://bootstrap.pypa.io/pip/2.7/get-pip.py | |
sudo python2 get-pip.py | |
# upgrade setup tools to avoid "invalid command egg_info" error | |
pip2 install --upgrade setuptools | |
# install python-dev to avoid "x86_64-linux-gnu-gcc failed..." error | |
sudo apt-get install python-dev |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment