E:\python\python.exe E:/Users/lenovo/PycharmProjects/pythonProject7/网络爬虫/3.py
E:\Users\lenovo\PycharmProjects\pythonProject7\网络爬虫\3.py:4: DeprecationWarning: executable_path has been deprecated, please pass in a Service object
driver=webdriver.Firefox(executable_path=r'E:\python\Scripts\geckodriver')
Traceback (most recent call last):
File "E:\Users\lenovo\PycharmProjects\pythonProject7\网络爬虫\3.py", line 4, in
driver=webdriver.Firefox(executable_path=r'E:\python\Scripts\geckodriver')
File "E:\python\lib\site-packages\selenium\webdriver\firefox\webdriver.py", line 175, in init
self.service.start()
File "E:\python\lib\site-packages\selenium\webdriver\common\service.py", line 101, in start
self.assert_process_still_running()
File "E:\python\lib\site-packages\selenium\webdriver\common\service.py", line 113, in assert_process_still_running
raise WebDriverException(
selenium.common.exceptions.WebDriverException: Message: Service E:\python\Scripts\geckodriver unexpectedly exited. Status code was: 1