1、安装包:pip install 库名
2、卸载包:pip uninstall 库名
3、升级包:pip install -U 库名
4、查看当前pip版本:pip --version
5、列出已安装的包:pip list
6、生成test.txt:pip freeze>test.txt
7、安装test.txt:pip install -r test.txt