- Create virtual environment using
pyenv virtualenv <python-version> <env-name>
orpython3 -m venv venv
(the simplest way). - Install the required libs with:
pip install -r requirements.txt
- Look for ChromeDriver https://chromedriver.chromium.org/getting-started. Check your browser's version first then download the driver with the EXACT SAME VERSION to your browser.
If you faced Chromium is damaged and can't be opened
. Try to exec this command
sudo xattr -cr /Applications/Chromium.app
If you faced chromedriver” can’t be opened because Apple cannot check it for malicious software.
error. Try to exec this command
sudo xattr -d com.apple.quarantine chromedriver_mac64/chromedriver