Django学习系列2:django环境中安装selenium并查看selenium版本号

在Django环境中安装selenium

(django) root@ranxf-TEST:/studydisk/Python_web_TDD/superlists# conda install selenium

查看版本selenium版本号

(django) root@ranxf-TEST:/studydisk/Python_web_TDD/superlists# pip show selenium
Name: selenium Version:
3.141.0

或者:

(django) root@ranxf-TEST:/studydisk/Python_web_TDD/superlists# python
Python 3.7.4 (default, Aug 13 2019, 20:35:49) 
[GCC 7.3.0] :: Anaconda, Inc. on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import selenium
>>> print(selenium.__version__)
3.141.0
原文地址:https://www.cnblogs.com/ranxf/p/11634381.html