![]() When i run it, it opens the website for just a second before closing and showing the following error: The chromedriver version (1.70) detected in PATH at C:\ProgramData\chocolatey\bin\chromedriver.exe might not be compatible with the detected chrome version (1.124) currently, chromedriver 1.105 is recommended for chrome 119.*, so it is advised to delete the driver in PATH and retry anyway ive finally gotten past the first line and now im met with another error.my code: from selenium import webdriver then it took me about 30 mins trying to figure out why "from selenium import chromedriver" was not working, not realising i was supposed to be importing webdriver instead lol. ![]() i had issues with importing selenium, but after about an hour i found a solution. Using terminal in admin mode, i updated pip, installed selenium and chromedriver (after installing chocolatey). ![]() So for the past two hours ive been struggling to make the first line of my code to work lol Ahh i really thought web scraping was going to be fun to learn
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |