personal-coding / Live-Sports-Arbitrage-Bet-Finder

Automated bot that identifies live sports arbitrage opportunities across FanDuel, DraftKings, and William Hill (Caesars).
201 stars 45 forks source link

Driver Error #3

Closed caderob closed 1 year ago

caderob commented 1 year ago

I've installed all the necessary libraries and have been getting this error about the driver. Any idea how to resolve this?

Screen Shot 2022-12-20 at 12 38 55 AM
personal-coding commented 1 year ago

That error may be caused by having the wrong undetected chromedriver library, which may be causing the driver to not be loaded. Can you confirm that you've installed undetected-chromedriver-modified?

caderob commented 1 year ago

When I run with both undetected-chromedriver-modified & undetected-chromedriver dependencies installed, this is the error

Screen Shot 2022-12-20 at 3 08 17 PM Screen Shot 2022-12-20 at 3 12 36 PM
caderob commented 1 year ago

When I run with just undetected-chromedriver-modified as a dependency installed, this is the error

Screen Shot 2022-12-20 at 3 06 52 PM Screen Shot 2022-12-20 at 3 09 46 PM
personal-coding commented 1 year ago

I think you may running into a conflict with having both undetected-chromedriver and undetected-chromedriver-modified. Can you delete undetected-chromedriver and try again? And try updating import undetected_chromedriver.v2 as uc to import undetected_chromedriver as uc

caderob commented 1 year ago

undetected-chromedriver has been deleted. undetected-chromedriver-modified is still active. Also updated import undetected_chromedriver.v2 as uc to import undetected_chromedriver as uc.

Same error as before occurs.

Screen Shot 2022-12-20 at 3 54 37 PM
personal-coding commented 1 year ago
  1. If you use the undetected-chromedriver library, use import undetected_chromedriver as uc in the code
  2. If you use the undetected-chromedriver-modified library, use import undetected_chromedriver.v2 as uc in the code

But, avoid having both libraries installed. You may be safest to just use the undetected-chromedriver library