pip 安裝 selenium 提示需要升級

努力做最好得自己發表於2018-07-19

1、You are using pip version 7.1.2, however version 10.0.1 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.

2、在命令視窗中輸入命令執行:python -m pip install --upgrade pip,安裝即可成功

3、然後在執行:pip install -U selenium,安裝即可成功

4、pycharm執行selenium

from selenium import webdriver
browser = webdriver.Firefox()
browser.get("https://www.baidu.com")

# browser.quit()

相關文章