1 目的
给python应用一个独立的运行环境,独立于其它的python应用也独立于系统的python环境。
环境升级不影响其它应用。
避免包冲突。
2 创建方式
2.1 pycharm中创建
project interpreter处点击配置按钮---new environment---然后选择一个location和选择interpreter就可以了。
2.2 命令行创建
略
3 使用蓄奴环境的python
source xxx/activate
1 目的
给python应用一个独立的运行环境,独立于其它的python应用也独立于系统的python环境。
环境升级不影响其它应用。
避免包冲突。
2 创建方式
2.1 pycharm中创建
project interpreter处点击配置按钮---new environment---然后选择一个location和选择interpreter就可以了。
2.2 命令行创建
略
3 使用蓄奴环境的python
source xxx/activate