1. pip安装

pip install module_name

2. 使用PyCharm安装Python模块

PyCharm首选项/设置(commond d)添加模块

python安装模块(Python教程安装模块方法)(1)

,