If you want to install Python Selenium on Centos, check out these two tutorials...

How To Install Selenium Chrome On Centos 7
How To Install Selenium FireFox On Centos

Prerequisites

  1. Python 3+ Installed
  2. Anaconda Installed (optional)
  3. Google Chrome Installed

Install Selenium Python

pip install selenium

Install ChromeDriver

1. Download Google Chrome Driver first...

wget https://chromedriver.storage.googleapis.com/2.41/chromedriver_linux64.zip

2. Unzip the chromedriver_linux64.zip file...

unzip chromedriver_linux64.zip

3. Move chromedriver to /usr/bin directory and change permissions...

sudo mv chromedriver /usr/bin/chromedriver
sudo chown root:root /usr/bin/chromedriver
sudo chmod +x /usr/bin/chromedriver

Verify Selenium Python with Chrome

Invoke Ipython or Python shell and run following  initial commands first...

from selenium import webdriver
from selenium.webdriver.chrome.options import Options

chrome_options = Options()
chrome_options.add_argument('--headless')
chrome_options.add_argument('--no-sandbox')
chrome_options.add_argument('--disable-dev-shm-usage')

Now we let us initialize the driver with chrome options.

driver = webdriver.Chrome('/usr/bin/chromedriver',chrome_options=chrome_options)

If you didn't get error, it means everything worked fine.

Common Errors While Installing Python Selenium With Chrome

WebDriverException: Message: unknown error: Chrome failed to start: exited abnormally
  (chrome not reachable)
  (The process started from chrome location /usr/bin/google-chrome is no longer running, so ChromeDriver is assuming that Chrome has crashed.)
  (Driver info: chromedriver=2.41.578700 (2f1ed5f9343c13f73144538f15c00b370eda6706),platform=Linux 4.15.0-66-generic x86_64)

To fix the above error, make sure there is no instance of Google Chrome is running.