OSError: [Errno 8] Exec format error: 'geckodriver' when trying to open firefox using selenium in python
You have most probably installed a version of geckodriver that is meant for a different OS/platform! get the correct version from https://github.com/mozilla/geckodriver/releases and replace the one you have.