从Anaconda官网上下载的Anaconda安装包,已经对应的是Python 3.7版本,
如果想要安装Python 3.6版,那么有如下几种方法:
![](https://i-blog.csdnimg.cn/blog_migrate/819a53001fa3170e0a3cf909106478b2.png#pic_center)
方法1:创建虚拟环境python3.6
anaconda 虚拟环境的python3.7 切换为python3.6
Anaconda安装Python 3.6版本
conda create --name py36 python=3.6
conda create --name py36 python=3.6
Solving environment: done
## Package Plan ##
environment location: D:\CodingSoftware\Anaconda3\envs\py36
added / updated specs:
- python=3.6
The following packages will be downloaded:
package | build
---------------------------|-----------------
python-3.6.2 | 0 31.5 MB https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
wincertstore-0.2 | py36_0 14 KB https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
vc-14 | 0 703 B https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
pip-9.0.1 | py36_1 1.7 MB https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
certifi-2016.2.28 | py36_0 214 KB https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
wheel-0.29.0 | py36_0 129 KB https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
setuptools-36.4.0 | py36_1 534 KB https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
vs2015_runtime-14.0.25420 | 0 2.0 MB https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
------------------------------------------------------------
Total: 36.0 MB
The following NEW packages will be INSTALLED:
certifi: 2016.2.28-py36_0 https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
pip: 9.0.1-py36_1 https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
python: 3.6.2-0 https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
setuptools: 36.4.0-py36_1 https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
vc: 14-0 https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
vs2015_runtime: 14.0.25420-0 https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
wheel: 0.29.0-py36_0 https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
wincertstore: 0.2-py36_0 https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
Proceed ([y]/n)? y
Downloading and Extracting Packages
python-3.6.2 | 31.5 MB | ############################################################################ | 100%
wincertstore-0.2 | 14 KB | ############################################################################ | 100%
vc-14 | 703 B | ############################################################################ | 100%
pip-9.0.1 | 1.7 MB | ############################################################################ | 100%
certifi-2016.2.28 | 214 KB | ############################################################################ | 100%
wheel-0.29.0 | 129 KB | ############################################################################ | 100%
setuptools-36.4.0 | 534 KB | ############################################################################ | 100%
vs2015_runtime-14.0. | 2.0 MB | ############################################################################ | 100%
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
#
# To activate this environment, use:
# > activate py36
#
# To deactivate an active environment, use:
# > deactivate
#
# * for power-users using bash, you must source
#
- 激活环境:
activate py36
- 查询所有的虚拟环境
方法2:版本回退
Anaconda中将python 3.7版本退回python 3.6版本
我已经换成清华源,但是一直加载不出来。放弃了。