简体   繁体   中英

ERROR: Could not find a version that satisfies the requirement webdriver (from versions: none)

from selenium import webdriver

class IB: def init (self): browser = webdriver.chrome() browser.get(" https://www.instagram.com/ ")

IB() The error i'm getting is ERROR: Could not find a version that satisfies the requirement webdriver (from versions: none)

Blockquote

I have installed selenium perfectly (i guess so) The IDE i'm using is PyCharm and it is fully updated as of June 2020 My pip is fully updated Can someone please help me?

enter image description here

I guess you didn't install drivers for chrome, see section Drivers in https://selenium-python.readthedocs.io/installation.html

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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