omkarcloud / google-maps-scraper

👋 HOLA 👋 HOLA 👋 HOLA ! ENJOY OUR GOOGLE MAPS SCRAPER 🚀 TO EFFORTLESSLY EXTRACT DATA SUCH AS NAMES, ADDRESSES, PHONE NUMBERS, REVIEWS, WEBSITES, AND RATINGS FROM GOOGLE MAPS WITH EASE! 🤖
https://www.omkar.cloud/
MIT License
863 stars 211 forks source link

Can't install chrome driver #122

Closed karim-Abd-El-Hameed closed 4 months ago

karim-Abd-El-Hameed commented 5 months ago

When I run I got this error.

Running [INFO] Downloading Chrome Driver. This is a one-time process. Download in progress... WARNING:root:Can not find chromedriver for currently installed chrome version. Traceback (most recent call last): File "C:\Users\pc\AppData\Local\Programs\Python\Python311\Lib\shutil.py", line 825, in move os.rename(src, real_dst) FileNotFoundError: [WinError 3] The system cannot find the path specified: 'build/121/chromedriver.exe' -> 'build/chromedriver-121.exe'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "e:\MakkaStones\Python Tools\Google Maps Scrapper\google-maps-scraper-master_2 New Version\google-maps-scraper-master\main.py", line 9, in
Gmaps.places(queries, max=5) File "e:\MakkaStones\Python Tools\Google Maps Scrapper\google-maps-scraper-master_2 New Version\google-maps-scraper-master\src\gmaps.py", line 339, in places places_obj = scraper.scrape_places(place_data, cache = use_cache) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\pc\AppData\Local\Programs\Python\Python311\Lib\site-packages\botasaurus\decorators.py", line 647, in wrapper_browser current_result = run_task(data_item, False, 0) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\pc\AppData\Local\Programs\Python\Python311\Lib\site-packages\botasaurus\decorators.py", line 459, in run_task check_and_download_driver() File "C:\Users\pc\AppData\Local\Programs\Python\Python311\Lib\site-packages\botasaurus\check_and_download_driver.py", line 22, in check_and_download_driver do_download_driver() File "C:\Users\pc\AppData\Local\Programs\Python\Python311\Lib\site-packages\botasaurus\create_driver_utils.py", line 163, in do_download_driver download_driver() File "C:\Users\pc\AppData\Local\Programs\Python\Python311\Lib\site-packages\botasaurus\download_driver.py", line 56, in download_driver move_driver() File "C:\Users\pc\AppData\Local\Programs\Python\Python311\Lib\site-packages\botasaurus\download_driver.py", line 46, in move_driver move_chromedriver() File "C:\Users\pc\AppData\Local\Programs\Python\Python311\Lib\site-packages\botasaurus\download_driver.py", line 45, in move_chromedriver shutil.move(src_path, dest_path) File "C:\Users\pc\AppData\Local\Programs\Python\Python311\Lib\shutil.py", line 845, in move copy_function(src, real_dst) File "C:\Users\pc\AppData\Local\Programs\Python\Python311\Lib\shutil.py", line 436, in copy2 copyfile(src, dst, follow_symlinks=follow_symlinks) File "C:\Users\pc\AppData\Local\Programs\Python\Python311\Lib\shutil.py", line 256, in copyfile with open(src, 'rb') as fsrc: ^^^^^^^^^^^^^^^ FileNotFoundError: [Errno 2] No such file or directory: 'build/121/chromedriver.exe'

Chetan11-dev commented 4 months ago

Kindly Run python -m pip install botasaurus --upgrade