Loading

selenium ValueError: Timeout value connect was <object object at 0x0000022273034440>, but it must be an int, float or None.

Traceback (most recent call last):
File "E:\01_pycharmProject\hengyi\img_split\get_urls_bySel.py", line 24, in
driver = webdriver.Chrome(options=option)

原因:
selenium与urllib版本不匹配
原selenium版本为4.1.3,urllib为2.2.2,并将chromedriver.exe 更新到python/scripts/下
卸载重新装了selenium 4.23.0

ERROR: After October 2020 you may experience errors when installing or updating packages. This is because pip will change the way that it resolves dependency conflicts.

We recommend you use --use-feature=2020-resolver to test your packages with the new resolver before it becomes the default.

typer 0.12.3 requires click>=8.0.0, but you'll have click 7.1.2 which is incompatible.
tushare 1.2.85 requires websocket-client==0.57.0, but you'll have websocket-client 1.8.0 which is incompatible.
tensorflow 2.4.0 requires numpy~=1.19.2, but you'll have numpy 1.20.0 which is incompatible.
tensorflow 2.4.0 requires typing-extensions~=3.7.4, but you'll have typing-extensions 4.9.0 which is incompatible.
tensorflow-gpu 2.4.0 requires numpy~=1.19.2, but you'll have numpy 1.20.0 which is incompatible.
tensorflow-gpu 2.4.0 requires typing-extensions~=3.7.4, but you'll have typing-extensions 4.9.0 which is incompatible.
posted @ 2024-07-23 10:22  踩坑大王  阅读(241)  评论(0)    收藏  举报