1.用conda建立虚拟环境
虚拟环境可以建立好多个
建立命令:
conda create -n your_env_name python=x.x
查询命令
conda env list
conda info -e
2. 激活虚拟环境
activate your_env_name
3.安装依赖包
省略
4.打包
pyinstaller -F -W 文件路径+文件名
5. 删除虚拟环境
conda remove -n your_env_name --all
1.用conda建立虚拟环境
虚拟环境可以建立好多个
建立命令:
conda create -n your_env_name python=x.x
查询命令
conda env list
conda info -e
2. 激活虚拟环境
activate your_env_name
3.安装依赖包
省略
4.打包
pyinstaller -F -W 文件路径+文件名
5. 删除虚拟环境
conda remove -n your_env_name --all