InstaPy / InstaPy/instapy-quickstart
Chromedriver
- Ngôn ngữ chính
- Python
- Star
- 777
- Fork
- 763
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
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.
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- python
- Lĩnh vực
- devtools
- Loại issue
- Lỗi
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Cần làm rõ
- Mức phù hợp với người mới
- 25/100