美文网首页Python
2020-08-16 Selenium 安装

2020-08-16 Selenium 安装

作者: BanieLiang | 来源:发表于2020-08-16 09:05 被阅读0次

Python 的库基于Python安装路径,下面解决selenium 的问题:

Selenium 的问题:

1,pip is configured with locations that require TLS/SSL

2,no module named 'selenium'

问题解决:

问题1:pipisconfiguredwithlocationsthatrequireTLS/SSL  可以通过一下链接解决:

https://blog.csdn.net/u012206617/article/details/106494990

https://slproweb.com/products/Win32OpenSSL.html

我电脑安装了一下这两个包:

问题2:no module named 'selenium'

尝试直接通过打开CMD安装seleniu是解决不了以上问题的。

1,打开CMD并在编辑框内输入 cd C:\Users\User Name(修改你的用户名)\AppData\Local\Programs\Python\Python38-32\Scripts>

2,输入pip install selenium

其实除了seleniem 安装在这个路径下面,其他的包也是一样的。看你的python怎么样安装。

相关文章

网友评论

    本文标题:2020-08-16 Selenium 安装

    本文链接:https://www.haomeiwen.com/subject/jfqtjktx.html