file->settings->Project Interpreter-> 找到“+”,在新弹出的串口左侧顶端的搜索框搜索想要安装的插件,点击install package等待安装完后点击apply即可