Skip to content
This repository has been archived by the owner on Oct 24, 2024. It is now read-only.

依赖已安装,运行报错 #3

Closed
EndlessJY opened this issue May 15, 2021 · 1 comment
Closed

依赖已安装,运行报错 #3

EndlessJY opened this issue May 15, 2021 · 1 comment

Comments

@EndlessJY
Copy link

EndlessJY commented May 15, 2021

windows10环境:
获取课程信息成功,准备下载!
Traceback (most recent call last):
File "C:\Users\xxx\Desktop\qcourse_scripts-main\qcourse.py", line 147, in
main()
File "C:\Users\xxx\Desktop\qcourse_scripts-main\qcourse.py", line 130, in main
qq_course = QCourse()
File "C:\Users\xxx\Desktop\qcourse_scripts-main\qcourse.py", line 32, in init
self.driver = Edge(executable_path='msedgedriver.exe', options=self.options)
File "C:\Users\xxx\AppData\Local\Programs\Python\Python39\lib\site-packages\msedge\selenium_tools\webdriver.py", line 103, in init
RemoteWebDriver.init(
File "C:\Users\xxx\AppData\Local\Programs\Python\Python39\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 157, in init
self.start_session(capabilities, browser_profile)
File "C:\Users\xxx\AppData\Local\Programs\Python\Python39\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 252, in start_session
response = self.execute(Command.NEW_SESSION, parameters)
File "C:\Users\xxx\AppData\Local\Programs\Python\Python39\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 321, in execute
self.error_handler.check_response(response)
File "C:\Users\xxx\AppData\Local\Programs\Python\Python39\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 MSEdge binary

@EndlessJY
Copy link
Author

已解决,未安装相应浏览器

@aiguoli aiguoli closed this as completed May 17, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants