服务器创建自己的python环境

在Linux平台下,创建自己的python环境特别简单

操作步骤
一、先创建一个新的虚拟环境

conda create -n tensorflow python=3.6

创建一个名称为tensorflow的环境

二、激活虚拟环境

activate tensorflow

三、切换环境

1、查看已有的虚拟环境

conda env list

2.切换到自己新建的环境

conda activate tensorflow

3.在环境中安装tensorflow框架

conda install tensorflow

整理博客不易,若客官觉得好,就请点个赞把!!!

猜你喜欢

转载自blog.csdn.net/fxwentian/article/details/114328814