查看 当前虚拟环境 conda env list 激活环境 conda activate pymain-dev 查看包 pip list 导出包 python -m pip freeze > requirements.txt 安装包 pip install -r requirements.txt