Installation

Python can be downloaded here .

For further information on how to install Python on your operating system :

Windows guide

Unix guide

OSx guide

On OSx you can also install Python through HomeBrew, which would also install pip along, to do so, you need to install HomeBrew and then run the following command : brew install python3

Install pip

pip is the standard package manager for Python. It allows you to install and manage additional packages that are not part of the Python standard library.

On Windows :

  • Download get-pip.py
  • Open your terminal (powershell, cmd, …) and navigate to the folder containing get-pip.py
  • Run the following command : python get-pip.py
  • Pip is now installed

On Unix :

Debian / Ubuntu:

1sudo apt install python3-pip

CentOS / Rhel:

1sudo yum install epel-release
2sudo yum install python-pip

Fedora:

1sudo dnf install python3

Arch Linux:

1sudo pacman -S python-pip

openSUSE:

1sudo zypper install python3-pip

On macOS:

Download get-pip.py and then run it

1curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
2python get-pip.py

With Brew:

1brew install python3

You can verify thatpip was installed properly by running the following command in your terminal : pip -V which should returns the version of the installed pip program.

Last updated 3 years ago
Edit Page
Share: