I have written a program in python which uses Selenium and a driver which is located in /usr/local/bin.
When I run from the program from the command line all is fine. When I run through Sublime I get the error:
FileNotFoundError: [Errno 2] No such file or directory: ‘geckodriver’
at the bottom it states:
[path: /usr/bin:/bin:/usr/sbin:/sbin]
So I’m guessing it is not looking in /usr/local/bin where the driver is located. Am I right? and if so how do I get Sublime to look in /usr/local/bin?