pycharm控制台输入:
1 pip freeze > requirement.txt ##迁移requirement文档
将这个txt文档拷贝到新环境里的项目目录下
再次输入:
1 pip install -r requirement.txt