❶ Pycharm配置python编译器
安装了python且通过pip安装selenium,打开Pycharm 输入 from selenium import webdriver报错,此时,需配置Pycharm(2019)使用的编译器为自己安装的python 方法:File->Settings->Project:xxx ->Project Interpreter (1)选择Show All...(2)点击 +,选择Existing environment,浏览选择已安装的python