简体   繁体   English

安装 selenium python 出现问题

[英]Problems with installing selenium python

I've been trying to install the selenium module in my coworker's computer and I haven't been successful.我一直在尝试在同事的计算机上安装 selenium 模块,但没有成功。 It occurs an error that I don't understand what's the problem.它发生了一个错误,我不明白是什么问题。

The error message is in the image below.错误消息如下图所示。

enter image description here在此处输入图像描述

How can I solve this problem?我怎么解决这个问题?

You can do this sir你可以做到这一点先生

  1. Uninstall the current Python installation.卸载当前安装的 Python。
  2. As you are on Windows 7 professional OS use CCleaner tool to wipe off all the OS chores before the new installation of Python Client.正如您在 Windows 7 专业操作系统上一样,在新安装 Python 客户端之前,使用CCleaner工具清除所有操作系统琐事。
  3. Download and install a new version of the compatible Python binary/executable.下载并安装新版本的兼容 Python 二进制/可执行文件。
  4. Make sure you are using the latest version of pip.确保您使用的是最新版本的 pip。 python -m pip install --upgrade pip
  5. Install latest version of Selenium: pip install selenium安装最新版Selenium: pip install selenium

I hope it works我希望它有效

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM