作者:qapo | 来源:互联网 | 2023-09-15 18:15
运行命令:conda create --name python36 python=3.6
Proceed ([y]/n)? y
然后下载python文件,速度慢时间长
运行:activate python36
(base) C:\Users\zhang>conda create --name python36 python=3.6
Solving environment: done&#61;&#61;> WARNING: A newer version of conda exists. <&#61;&#61;current version: 4.5.12 Zlatest version: 4.11.0Please update conda by running$ conda update -n base -c defaults conda## Package Plan ##environment location: C:\Users\zhang\Anaconda3\envs\python36added / updated specs:- python&#61;3.6The following packages will be downloaded:package | build---------------------------|-----------------python-3.6.13 | h3758d61_0 17.7 MBThe following NEW packages will be INSTALLED:certifi: 2021.5.30-py36haa95532_0pip: 21.2.2-py36haa95532_0python: 3.6.13-h3758d61_0setuptools: 58.0.4-py36haa95532_0sqlite: 3.37.0-h2bbff1b_0vc: 14.2-h21ff451_1vs2015_runtime: 14.27.29016-h5e58377_2wheel: 0.37.1-pyhd3eb1b0_0wincertstore: 0.2-py36h7fe50ca_0Proceed ([y]/n)? yDownloading and Extracting Packages
python-3.6.13 | 17.7 MB | ############################################################################ | 100%
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
#
# To activate this environment, use
#
# $ conda activate python36
#
# To deactivate an active environment, use
#
# $ conda deactivate(base) C:\Users\zhang>python
Python 3.7.1 (default, Dec 10 2018, 22:54:23) [MSC v.1915 64 bit (AMD64)] :: Anaconda, Inc. on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> ^Z(base) C:\Users\zhang>activate python36(python36) C:\Users\zhang>python
Python 3.6.13 |Anaconda, Inc.| (default, Mar 16 2021, 11:37:27) [MSC v.1916 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>>