WARNING:selenium.webdriver.common.driver_finder:Unable to obtain driver using Selenium Manager: Selenium Manager failed for: /usr/local/lib/python3.9/dist-packages/selenium/webdriver/common/linux/selenium-manager --browser chrome --output json.
error sending request for url (https://chromedriver.storage.googleapis.com/LATEST_RELEASE): error trying to connect: tcp connect error: Connection refused (os error 111)
Traceback (most recent call last):
File "/home/gptCensorFree/token_gen.py", line 20, in <module>
driver = webdriver.Chrome(options=options)
File "/usr/local/lib/python3.9/dist-packages/selenium/webdriver/chrome/webdriver.py", line 82, in __init__
service.path = DriverFinder.get_path(service, options)
File "/usr/local/lib/python3.9/dist-packages/selenium/webdriver/common/driver_finder.py", line 43, in get_path
raise err
File "/usr/local/lib/python3.9/dist-packages/selenium/webdriver/common/driver_finder.py", line 40, in get_path
path = shutil.which(service.path) or SeleniumManager().driver_location(options)
File "/usr/local/lib/python3.9/dist-packages/selenium/webdriver/common/selenium_manager.py", line 91, in driver_location
result = self.run(args)
File "/usr/local/lib/python3.9/dist-packages/selenium/webdriver/common/selenium_manager.py", line 112, in run
raise SeleniumManagerException(f"Selenium Manager failed for: {command}.\n{result}{stderr}")
selenium.common.exceptions.SeleniumManagerException: Message: Selenium Manager failed for: /usr/local/lib/python3.9/dist-packages/selenium/webdriver/common/linux/selenium-manager --browser chrome --output json.
error sending request for url (https://chromedriver.storage.googleapis.com/LATEST_RELEASE): error trying to connect: tcp connect error: Connection refused (os error 111)
I'm not really educated about this. Does this mean chrome in not installed on my machine ?
What would be the proper way to solve this ?