getting this error message after i run the file that is supposed to connect the browser
File "C:\Users\A\Documents\dw_pipeline_test\MarketPlaces\Initialization\markets_mining.py", line 79, in <module>
opentor()
File "C:\Users\A\Documents\dw_pipeline_test\MarketPlaces\Initialization\markets_mining.py", line 70, in opentor
pro = subprocess.Popen(config.get('TOR', 'firefox_binary_path'))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\A\Documents\Anaconda\Lib\subprocess.py", line 1026, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "C:\Users\A\Documents\Anaconda\Lib\subprocess.py", line 1538, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [WinError 2] The system cannot find the file specified
Process finished with exit code 1
i tried going through my own code not sure if my Anaconda interpreter has to do with the issue,
never used firefox_binary or selenium before so generally pretty inexperienced. thank you for any help
def opentor():
global pid
print("Connecting Tor...")
pro = subprocess.Popen(config.get('TOR', 'firefox_binary_path'))
pid = pro.pid
# time.sleep(7.5)
input('Press ENTER when Tor is connected to continue')
return