(base) C:UsersEthan Chen>pip install python==3.7.5
ERROR: Could not find a version that satisfies the requirement python==3.7.5
ERROR: No matching distribution found for python==3.7.5
D:python3.7python.exe "E:/jupyter notebook/中秋月饼可视化/爬虫.py"
请输入您要搜索的商品:月饼
Traceback (most recent call last):
File "D:python3.7libsite-packagesseleniumwebdrivercommonservice.py", line 76, in start
creationflags=self.creationflags)
File "D:python3.7libsubprocess.py", line 800, in __init__
restore_signals, start_new_session)
File "D:python3.7libsubprocess.py", line 1207, in _execute_child
startupinfo)
FileNotFoundError: [WinError 2] 系统找不到指定的文件。
没有找到指定的文件,自己看看路径问题
During handling of the above exception, another exception occurred:
2Traceback (most recent call last):
File "E:/jupyter notebook/中秋月饼可视化/爬虫.py", line 44, in
browser = webdriver.Chrome()
File "D:python3.7libsite-packagesseleniumwebdriverchromewebdriver.py", line 73, in __init__
service_log_path, service, keep_alive)
File "D:python3.7libsite-packagesseleniumwebdriverchromiumwebdriver.py", line 90, in __init__
self.service.start()
File "D:python3.7libsite-packagesseleniumwebdrivercommonservice.py", line 83, in start
os.path.basename(self.path), self.start_error_message)
selenium.common.exceptions.WebDriverException: Message: 'chromedriver' executable needs to be in PATH. Please see https://chromedriver.chromium.org/home
安装包的问题,需要自己慢慢拍错
Process finished with exit code 1
TypeError: missing a required argument: 'dataset_file'
单词拼写出错



