windows命令行切换python版本
2021-01-29 20:18
                         标签:python3   mamicode   windows命令   inf   href   命令   name   create   cond    我这里使用anaconda来安装两个版本的python包。 安装完之后,在你的anaconda程序目录下会发现: 安装的时候,最好加上清华源,不然可以因为网络问题报错。 https://blog.csdn.net/fxjzzyo/article/details/77070868 windows命令行切换python版本 标签:python3   mamicode   windows命令   inf   href   命令   name   create   cond    原文地址:https://www.cnblogs.com/mysticbinary/p/12822055.html安装2.x 和 3.x 的python
conda create --name python2 python=2.7
conda create --name python23 python=2.7

设置系统环境变量

pip的使用
python2 -m pip install termcolor -i https://pypi.tuna.tsinghua.edu.cn/simple
python3 -m pip install termcolor -i https://pypi.tuna.tsinghua.edu.cn/simple
python2 -m pip list
python3 -m pip list
参考
文章标题:windows命令行切换python版本
文章链接:http://soscw.com/index.php/essay/48826.html