使用anaconda创建python环境的方法:1、打开终端;2、执行【conda】命令进入conda环境;3、执行【conda create --name 环境名称 pytohn==3.6】命令创建环境即可。
![](https://video.ask-data.xyz/img.php?b=https://iknow-pic.cdn.bcebos.com/ac6eddc451da81cb5866deb34266d016082431cf?x-bce-process=image%2Fresize%2Cm_lfit%2Cw_600%2Ch_800%2Climit_1%2Fquality%2Cq_85%2Fformat%2Cf_auto)
具体方法:
(推荐教程:Python入门教程)
1、首先输入conda,进入conda环境
![](https://video.ask-data.xyz/img.php?b=https://iknow-pic.cdn.bcebos.com/38dbb6fd5266d0166c99c356872bd40734fa35cf?x-bce-process=image%2Fresize%2Cm_lfit%2Cw_600%2Ch_800%2Climit_1%2Fquality%2Cq_85%2Fformat%2Cf_auto)
2、执行命令 conda create --name 环境名称 pytohn==3.6 ,此处输入你要创建的环境名称和你需要的python版本
3、提示框中输入y
4、这样环境就创建成功了,输入 source activate huahua(环境名) 即可进入我们创建的环境
![](https://video.ask-data.xyz/img.php?b=https://iknow-pic.cdn.bcebos.com/34fae6cd7b899e51620e676a52a7d933c9950dcf?x-bce-process=image%2Fresize%2Cm_lfit%2Cw_600%2Ch_800%2Climit_1%2Fquality%2Cq_85%2Fformat%2Cf_auto)