Устанавливаю вот эту прелесть https://github.com/essandess/isp-data-pollution/ (на ноуте работало). После установки всех зависимостей выдает вот это:
This is ISP Data Pollution 🐙💨, Version 2.0.1
Traceback (most recent call last):
File "/usr/local/lib/python3.9/dist-packages/selenium/webdriver/common/service.py", line 71, in start
self.process = subprocess.Popen(cmd, env=self.env,
File "/usr/lib/python3.9/subprocess.py", line 951, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "/usr/lib/python3.9/subprocess.py", line 1823, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'chromedriver'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/artem/isp-data-pollution/isp_data_pollution.py", line 1131, in <module>
ISPDataPollution()
File "/home/artem/isp-data-pollution/isp_data_pollution.py", line 243, in __init__
self.check_chromedriver_version()
File "/home/artem/isp-data-pollution/isp_data_pollution.py", line 274, in check_chromedriver_version
self.open_driver()
File "/home/artem/isp-data-pollution/isp_data_pollution.py", line 302, in open_driver
driver = webdriver.Chrome(options=chrome_options)
File "/usr/local/lib/python3.9/dist-packages/selenium/webdriver/chrome/webdriver.py", line 70, in __init__
super(WebDriver, self).__init__(DesiredCapabilities.CHROME['browserName'], "goog",
File "/usr/local/lib/python3.9/dist-packages/selenium/webdriver/chromium/webdriver.py", line 90, in __init__
self.service.start()
File "/usr/local/lib/python3.9/dist-packages/selenium/webdriver/common/service.py", line 81, in start
raise WebDriverException(
selenium.common.exceptions.WebDriverException: Message: 'chromedriver' executable needs to be in PATH. Please see https://chromedriver.chromium.org/home
Я как бы понимаю, что какая-то фигня с chromedriver, но как это исправить - не знаю. Есть идеи?