You can use pip install selenium, maybe specify the versionchrome
pip install selenium==3.4.1
this website download ChromeDriver.ubuntu
tip: you must knwon which version the your chrome is, you should download the version that support your chrome.this
the latest version is:google
Latest Release: ChromeDriver 2.33 Supports Chrome v60-62
when extract the rar file we can get single chromedriver file, then put it in $PATH.3d
show the path dir:code
$ echo $PATH
so I will choose /usr/local/bin/
ip
sudo mv ./chromedriver /usr/local/bin/
test if it works:ci
$ chromedriver Starting ChromeDriver 2.24.417424 (c5c5ea873213ee72e3d0929b47482681555340c3) on port 9515 Only local connections are allowed.
it starting on port 9515, wow it works.get