1、开始在 Python 3.8.0rc1 中执行 import selenium,出现下面错误
ModuleNotFoundError: No module named 'selenium'。
2、然后根据网上指引
打开cmd窗口,使用命令“pip install selenium”安装selenium
出现下面提示:module 'http' has no attribute 'client'
查看pip也没有安装,按照操作安装也出现module 'http' has no attribute 'client'错误。
去官网下载pip包和selenium包安装,也是出现 module 'http' has no attribute 'client'
selenium-4.1.5-py3-none-any.whl
pip-22.1-py3-none-any.whl
你的文件是否有叫handle.py的?可能是命名冲突,handle是关键字