Install Python, pip, git
Installation instructions for Git, Python, and Pip¶
You can download Git from here.
(You can also download SeleniumBase from GitHub without using git-related commands.)
You can download Python from https://www.python.org/downloads/ if it's not already preinstalled on your machine.
You might already have pip and setuptools installed, but if you don't:
python -m easy_install -U pip pip install -U setuptools
If that didn't work, here are some more commands you can try:
On macOS / Windows / Linux, run the following command:
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 -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
- (If you get SSL errors while trying to install packages with pip, see this Stackoverflow post, which tells you to run the above command.)
Keep Pip and Setuptools up-to-date:
python -m pip install -U pip setuptools