InstaPy / InstaPy/instapy-quickstart
Chromedriver
- Dominant language
- Python
- Stars
- 777
- Forks
- 763
- PR merge metrics
- No merged PRs in 30d
Description
The last few days it wasn't a problem to run the program. Today I'm getting the following error:
Python 3.7.4 (tags/v3.7.4:e09359112e, Jul 8 2019, 19:29:22) [MSC v.1916 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license()" for more information.
>>>
RESTART: C:\Users\Alexander_Hansmann\AppData\Local\Programs\Python\Python37-32\Lib\site-packages\quickstart.py
._. ._. ._. ._. ._. ._. ._. ._. ._. ._. ._.
Workspace in use: "C:/Users/Alexander_Hansmann/InstaPy"
._. ._. ._. ._. ._. ._. ._. ._. ._. ._. ._. ._. ._. ._. ._. ._. ._. ._. ._. ._. ._. ._.
INFO [2019-08-14 09:59:09] [alexander_hansmann] Using built in instapy-chromedriver executable (version 2.46)
ERROR [2019-08-14 09:59:12] [alexander_hansmann] Message: unknown error: cannot find Chrome binary
Traceback (most recent call last):
File "C:\Users\Alexander_Hansmann\AppData\Local\Programs\Python\Python37-32\Lib\site-packages\instapy\browser.py", line 163, in set_selenium_local_session
chrome_options=chrome_options)
File "C:\Users\Alexander_Hansmann\AppData\Local\Programs\Python\Python37-32\Lib\site-packages\selenium\webdriver\chrome\webdriver.py", line 81, in __init__
desired_capabilities=desired_capabilities)
File "C:\Users\Alexander_Hansmann\AppData\Local\Programs\Python\Python37-32\Lib\site-packages\selenium\webdriver\remote\webdriver.py", line 157, in __init__
self.start_session(capabilities, browser_profile)
File "C:\Users\Alexander_Hansmann\AppData\Local\Programs\Python\Python37-32\Lib\site-packages\selenium\webdriver\remote\webdriver.py", line 252, in start_session
response = self.execute(Command.NEW_SESSION, parameters)
File "C:\Users\Alexander_Hansmann\AppData\Local\Programs\Python\Python37-32\Lib\site-packages\selenium\webdriver\remote\webdriver.py", line 321, in execute
self.error_handler.check_response(response)
File "C:\Users\Alexander_Hansmann\AppData\Local\Programs\Python\Python37-32\Lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 242, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.WebDriverException: Message: unknown error: cannot find Chrome binary
Traceback (most recent call last):
File "C:\Users\Alexander_Hansmann\AppData\Local\Programs\Python\Python37-32\Lib\site-packages\quickstart.py", line 30, in
headless_browser=False)
File "C:\Users\Alexander_Hansmann\AppData\Local\Programs\Python\Python37-32\Lib\site-packages\instapy\instapy.py", line 312, in __init__
self.set_selenium_local_session()
File "C:\Users\Alexander_Hansmann\AppData\Local\Programs\Python\Python37-32\Lib\site-packages\instapy\instapy.py", line 362, in set_selenium_local_session
raise InstaPyError(err_msg)
instapy.exceptions.InstaPyError: ensure chromedriver is installed at C:\Users\Alexander_Hansmann\AppData\Local\Programs\Python\Python37-32\Lib\site-packages\instapy_chromedriver\chromedriver_win32.exe
I've installed the latest version of chromedriver.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with quickstart.py and the set_selenium_local_session entry points shown in instapy/browser.py and instapy/instapy.py, then reproduce the Windows Python 3.7 launch using the reported chromedriver version. Done means identifying the cause of the missing Chrome binary error and documenting or correcting the setup path, with a successful local browser start.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100