安裝卸載selenium


安裝:

 1 C:\Users\xiongjiawei>pip install selenium==2.48.0
 2 Collecting selenium==2.48.0
 3   Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='pypi.python.org', port=443): Read timed out. (read timeout=15)",)': /simple/selenium/
 4   Retrying (Retry(total=3, connect=None, read=None, redirect=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='pypi.python.org', port=443): Read timed out. (read timeout=15)",)': /simple/selenium/
 5   Downloading selenium-2.48.0.tar.gz (805kB)
 6     100% |████████████████████████████████| 806kB 37kB/s
 7 Installing collected packages: selenium
 8   Running setup.py install for selenium
 9 Successfully installed selenium-2.48.0
10 
11 C:\Users\xiongjiawei>

安裝成功后在此路徑查看:D:\Program Files\Python 3.5\Lib\site-packages

 

安裝或升級:pip install -U selenium

 

 

卸載:

pip uninstall selenium

查看版本號:pip show selenium

瀏覽器驅動下載:http://www.seleniumhq.org/download/


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM