将当前环境的包 导入文件中

pip freeze >requirements.txt

原文地址:https://www.cnblogs.com/tangpg/p/9268992.html