Skip to the content.

Installation instructions for Git, Python, and pip

Git

You can download Git from here.

(A Git GUI tool like SourceTree or GitHub Desktop can help you with Git commands.)

(You can also download SeleniumBase from GitHub without using git-related commands.)

Python

You can download Python from https://www.python.org/downloads/ if it’s not already preinstalled on your machine.

pip

pip already comes with Python! (It lets you install packages, such as seleniumbase.)

⚠️ If something went wrong with your pip installation, try this:

python -m ensurepip --default-pip

If your existing version of pip is old, upgrade to the latest version:

python -m pip install --upgrade pip setuptools

On CentOS 7 and some versions of Linux, you may need to install pip with yum:

yum -y update
yum -y install python-pip

If you’re having any trouble getting pip, you can GET PIP HERE.

When done, make sure the location of pip is on your path, which is $PATH for macOS/Linux. (On Windows, it’s the System Variables Path within System Environment Variables.)

You can also get pip (or fix pip) by using:

curl https://bootstrap.pypa.io/get-pip.py | python

Keep Pip and Setuptools up-to-date:

python -m pip install -U pip setuptools