可视化分析月饼时遇到的问题
1
(base) C:\Users\Ethan 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.7\python.exe "E:/jupyter notebook/中秋月饼可视化/爬虫.py"
请输入您要搜索的商品:月饼
Traceback (most recent call last):
File "D:\python3.7\lib\site-packages\selenium\webdriver\common\service.py", line 76, in start
creationflags=self.creationflags)
File "D:\python3.7\lib\subprocess.py", line 800, in __init__
restore_signals, start_new_session)
File "D:\python3.7\lib\subprocess.py", line 1207, in _execute_child
startupinfo)
FileNotFoundError: [WinError 2] 系统找不到指定的文件。
没有找到指定的文件,自己看看路径问题
During handling of the above exception, another exception occurred:
2
Traceback (most recent call last):
File "E:/jupyter notebook/中秋月饼可视化/爬虫.py", line 44, in <module>
browser = webdriver.Chrome()
File "D:\python3.7\lib\site-packages\selenium\webdriver\chrome\webdriver.py", line 73, in __init__
service_log_path, service, keep_alive)
File "D:\python3.7\lib\site-packages\selenium\webdriver\chromium\webdriver.py", line 90, in __init__
self.service.start()
File "D:\python3.7\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' executable needs to be in PATH. Please see https://chromedriver.chromium.org/home
安装包的问题,需要自己慢慢拍错
Process finished with exit code 1
3
TypeError: missing a required argument: 'dataset_file'
单词拼写出错
文章来源: blog.csdn.net,作者:irrationality,版权归原作者所有,如需转载,请联系作者。
原文链接:blog.csdn.net/weixin_54227557/article/details/122058719
- 点赞
- 收藏
- 关注作者
评论(0)