可视化分析月饼时遇到的问题

举报
irrational 发表于 2022/01/17 22:54:41 2022/01/17
【摘要】 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 f...

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

【版权声明】本文为华为云社区用户转载文章,如果您发现本社区中有涉嫌抄袭的内容,欢迎发送邮件进行举报,并提供相关证据,一经查实,本社区将立刻删除涉嫌侵权内容,举报邮箱: cloudbbs@huaweicloud.com
  • 点赞
  • 收藏
  • 关注作者

评论(0

0/1000
抱歉,系统识别当前为高风险访问,暂不支持该操作

全部回复

上滑加载中

设置昵称

在此一键设置昵称,即可参与社区互动!

*长度不超过10个汉字或20个英文字符,设置后3个月内不可修改。

*长度不超过10个汉字或20个英文字符,设置后3个月内不可修改。