Traceback (most recent call last):
File "/Users/rj/anaconda3/envs/py36/lib/python3.6/site-packages/selenium/webdriver/common/service.py", line 76, in start
stdin=PIPE)
File "/Users/rj/anaconda3/envs/py36/lib/python3.6/subprocess.py", line 729, in __init__
restore_signals, start_new_session)
File "/Users/rj/anaconda3/envs/py36/lib/python3.6/subprocess.py", line 1364, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'geckodriver': 'geckodriver'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/rj/projects/category_search/selenium_base.py", line 34, in <module>
startpy()
File "/Users/rj/projects/category_search/selenium_base.py", line 29, in startpy
abc()
File "/Users/rj/projects/category_search/selenium_base.py", line 20, in abc
driver = webdriver.Firefox()
File "/Users/rj/anaconda3/envs/py36/lib/python3.6/site-packages/selenium/webdriver/firefox/webdriver.py", line 164, in __init__
self.service.start()
File "/Users/rj/anaconda3/envs/py36/lib/python3.6/site-packages/selenium/webdriver/common/service.py", line 83, in start
os.path.basename(self.path), self.start_error_message)
selenium.common.exceptions.WebDriverException: Message: 'geckodriver' executable needs to be in PATH.