Python update 2.7.9
Zypper Package Manager (Python 2.
#Python update 2.7.9 install
Yum Package Manager (Python 3.x) sudo yum install python3 python3-wheelĭandified Yum (Python 2.x) sudo dnf upgrade python-setuptoolsĭandified Yum (Python 3.x) sudo dnf install python3 python3-wheel Yum Package Manager (Python 2.x) sudo yum upgrade python-setuptools Pacman Package Manager (Python 3.x) sudo pacman -S python-pip Pacman Package Manager (Python 2.x) sudo pacman -S python2-pip This is preferable since system-installed versions of Python do not play nicely with the get-pip.py script used on Windows and Mac.Īdvanced Package Tool (Python 2.x) sudo apt-get install python-pipĪdvanced Package Tool (Python 3.x) sudo apt-get install python3-pip If your Linux distribution came with Python already installed, you should be able to install PIP using your system's package manager. If the installation is successful but PIP is unavailable, you may need to re-link Python using the following Terminal command: This will install the latest version of Python, which should come packaged with PIP. Installing Python with Homebrew is done with a single command: These instructions will assume you already have Homebrew installed and ready to go. Since Python will be built and installed on Linux, it is necessary to install the OpenSSL development package on which. Don't know what that is? Learn more about installing software with Homebrew on Mac. If you'd rather install a more up-to-date version of Python, then you can use Homebrew. If you want to use the native system Python installation but don't have PIP available, you can install PIP with the following command in Terminal: It's highly recommended that you install a more current version of Python and PIP. However, this version of Python tends to be outdated and not the best choice for serious Python development. Possible that I could spend more time and get that working. Modern Mac systems come with Python and PIP already installed. I tried to do this, but I apparently couldn't get the compilation to pick up system libraries like zlib, so a bunch of the Ansible modules ended up failing when using it as the ansiblepythoninterpreter.