打开pycharm
file-settings
project:自己加的项目名
project Interpreter:可看到当前路径
下拉选择show all点击+号
勾选existing environment
Interpreter 中添加python路径,如d:\Python3\python.exe点击ok
可看到project xx-> project Interpreter中package有selenium
打开pycharm
file-settings
project:自己加的项目名
project Interpreter:可看到当前路径
下拉选择show all点击+号
勾选existing environment
Interpreter 中添加python路径,如d:\Python3\python.exe点击ok
可看到project xx-> project Interpreter中package有selenium