Warning (from warnings module):
File "D:\2345Downloads\QqMusicSpider.py", line 70
chrome_options=option)
DeprecationWarning: use options instead of chrome_options
Traceback (most recent call last):
File "D:\Program Files\Python37\Python37\lib\site-packages\selenium\webdriver\common\service.py", line 76, in start
stdin=PIPE)
File "D:\Program Files\Python37\Python37\lib\subprocess.py", line 775, in __init__
restore_signals, start_new_session)
File "D:\Program Files\Python37\Python37\lib\subprocess.py", line 1178, in _execute_child
startupinfo)
FileNotFoundError: [WinError 2] 系统找不到指定的文件。
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:\2345Downloads\QqMusicSpider.py", line 70, in <module>
chrome_options=option)
File "D:\Program Files\Python37\Python37\lib\site-packages\selenium\webdriver\chrome\webdriver.py", line 73, in __init__
self.service.start()
File "D:\Program Files\Python37\Python37\lib\site-packages\selenium\webdriver\common\service.py", line 83, in start
os.path.basename(self.path), self.start_error_message)
selenium.common.exceptions.WebDriverException: Message: 'chromedriver.exe' executable needs to be in PATH. Please see https://sites.google.com/a/chromium.org/chromedriver/home