需要去设置file-settings-project python下的project interpreter,

看见右方的pip,双击pip

搜索框中输入selenium 然后点击左下方install package 即可

相关文章: