首页 > 其他分享 >selenium ValueError: Timeout value connect was <object object at 0x0000022273034440>, but it m

selenium ValueError: Timeout value connect was <object object at 0x0000022273034440>, but it m

时间:2024-07-23 10:31:59浏览次数:8  
标签:None incompatible int ll selenium but extensions requires

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.

标签:None,incompatible,int,ll,selenium,but,extensions,requires
From: https://www.cnblogs.com/Gimm/p/18317710

相关文章

  • python selenium 行为错误:AttributeError:“Context”对象没有属性“driver”
    我正在使用pythonselenium与Behavior包一起工作。这是代码:@given('theuserisontheloginpage')defstep_given_user_on_login_page(context):PATH='C:/Users/PycharmProjects/ui_test/chromedriver-win32/chromedriver.exe'context.driver=......
  • 通过命令行运行时,收到错误“no attribute Predict_proba”
    我有一组代码,当我在python解释器(3.8.4)中运行时,一切正常。然而,当我尝试通过命令行运行时,我最终收到一个错误:AttributeError:This'SelfTrainingClassifier'hasnoattribute'predict_proba'这很奇怪,因为当我浏览文档时,selfTrianingClassifier确实有predcit_proba......
  • Customtkinter 网格按钮未居中
    我正在尝试使用customtkinter制作一个控制面板GUI,它本质上由具有不同按钮的不同页面组成,但是当我转到不同页面时,按钮不居中。如您所见,第一页居中:但是,当我导航到音乐播放器时,按钮由于某种原因向左对齐:当按下音乐控制按钮时,我删除......
  • 使用 tkinter 为 python 创建 GUI 时如何解决语法错误?
    我是一名Python初学者,决定使用tkinter制作一个小型GUI,该GUI接受用户(潜在餐馆)的3个输入,然后单击按钮后随机输出其中一家餐馆。我不断收到语法错误,并认为它与我的buttonfunc或调用它的命令有关。此代码尚未包含在GUI上输出餐厅的任何位置。任何帮助将不胜感激#Pyth......
  • TypeError:预期的字符串或类似字节的对象,在使用导入运行 Pyinstaller 时得到“NoneType
    我正在尝试从Python创建可执行文件,但收到以下错误。我创建了一个干净的环境,并尝试仅通过导入和文件中的简单print('HelloWorld')来重现该问题,如下所示:importtkinterastkimportthreadingfromtkinterimportfiledialogfromtkcalendarimportDateEntryfro......
  • 从 OR-Tools 设置 CP-SAT 求解器的 IntVar 值
    我目前正在使用googleOR-toolsCP-SAT求解器来解决规划问题。我使用IntVars作为日期的表示。所有这些IntVar都在字典中。我有一些可以正常工作的约束,但我想强制求解器使大约2/3的Intvars低于400。我尝试使用BoolVars解决问题,但没有成功,我运行了出于如何将2/3......
  • 类型错误:“str”对象不可调用 - 将 str 转换为 int
    我正在尝试将字符串转换为浮点型,但出现此类型错误:TypeErrorTraceback(mostrecentcalllast)<ipython-input-133-93612055e8fb>in<cellline:1>()---->1year=int(input("tellmeyourbirthdate:"))TypeError:'st......
  • C语言的数据类型、变量、操作符、printf、scanf详解
    目录一、数据类型1.1、什么是数据类型1.2、数据类型有哪些(1)字符型(2)整型(3)浮点型(4)布尔型1.3、有符号signed和无符号unsigned1.4、sizeof操作符二、变量2.1、变量的创建2.2、变量的分类2.3、变量的初始化三、操作符3.1、算术操作符3.2、赋值操作符3.3、单目操作......
  • django.db.utils.OperationalError:无法翻译主机名“postgres.railway.internal”
    django.db.utils.OperationalError:无法将主机名“postgres.railway.internal”翻译为地址:提供的节点名或服务名,或未知我的django项目运行良好,直到将setting.py文件更改为使用铁路提供的变量将其部署在铁路中。从那时起我无法运行serv或迁移,我收到此错误...这里是数据......
  • 在 VSCode 中通过 Python 使用 YouTube API 时如何启用 Intellisense
    我想在使用GoogleYouTubeAPI和Python时在VSCode中获得IntelliSense。但我不知道详细步骤。fromgoogleapiclient.discoveryimportbuildapi_key="****"youtube=build("youtube","v3",developerKey=api_key)request=youtube.channels().list(part......