Last active
May 26, 2024 21:17
-
-
Save noherczeg/fe9db442c5d64f14e5162f924c69630d to your computer and use it in GitHub Desktop.
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
# download source https://www.python.org/downloads/release/python-2712/ | |
wget https://www.python.org/ftp/python/2.7.12/Python-2.7.12.tgz | |
tar -zxvf Python-2.7.12.tgz | |
cd Python-2.7.12 | |
# install | |
./configure | |
make | |
sudo make install | |
# crate bin in home if not exists | |
mkdir ~/bin | |
ln -s /usr/bin/python2 ~/bin/python | |
PATH=~/bin:$PATH | |
# download and install pip | |
wget https://bootstrap.pypa.io/get-pip.py | |
sudo python get-pip.py |
@vmrfriz sorry, I've not been using Manjaro for years, not sure what the current solution is.
I believe the proper way to manage python envs is pyenv:
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
sudo python2 get-pip.py