【发布时间】:2023-03-20 12:21:01
【问题描述】:
嗨,我是 python 的新开发人员 我想使用 selenium web driver api 并使用 mac pc 并安装 web 驱动程序库
我在pycharm项目解释器上安装代码'pip install web driver'但是错误
错误定义如下:
Try to run this command from the system terminal. Make sure that you use the correct version of 'pip' installed for your Python interpreter located at '/usr/local/Cellar/python3/3.5.1/Frameworks/Python.framework/Versions/3.5/bin/python3.5'.
Could not find a version that satisfies the requirement webdriver (from versions: )
No matching distribution found for web driver
注意:我使用 python 3.5 但终端使用 2.7 :(
没有找到与 Web 驱动程序匹配的分发版
你能帮帮我吗
祝你好运……
【问题讨论】:
-
我真的很困惑。你到底想做什么?要安装 selenium,您需要安装 selenium。不是网络驱动程序。所以应该是
pip install selenium
标签: python macos selenium selenium-webdriver automated-tests