CD实验环境

conda create -n wind_2021 python==3.7
(base) C:\Users\bim>conda create -n wind_2021 python==3.7
Channels:
 - defaults
Platform: win-64
Collecting package metadata (repodata.json): done
Solving environment: done

## Package Plan ##

  environment location: D:\Anaconda\install\envs\wind_2021

  added / updated specs:
    - python==3.7


The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    certifi-2022.12.7          |   py37haa95532_0         149 KB
    pip-22.3.1                 |   py37haa95532_0         2.7 MB
    python-3.7.0               |       hea74fb7_0        16.6 MB
    setuptools-65.6.3          |   py37haa95532_0         1.1 MB
    vc-14.2                    |       h2eaa2aa_1          10 KB
    vs2015_runtime-14.29.30133 |       h43f2093_3         1.1 MB
    wheel-0.38.4               |   py37haa95532_0          82 KB
    wincertstore-0.2           |   py37haa95532_2          15 KB
    ------------------------------------------------------------
                                           Total:        21.8 MB

The following NEW packages will be INSTALLED:

  certifi            pkgs/main/win-64::certifi-2022.12.7-py37haa95532_0
  pip                pkgs/main/win-64::pip-22.3.1-py37haa95532_0
  python             pkgs/main/win-64::python-3.7.0-hea74fb7_0
  setuptools         pkgs/main/win-64::setuptools-65.6.3-py37haa95532_0
  vc                 pkgs/main/win-64::vc-14.2-h2eaa2aa_1
  vs2015_runtime     pkgs/main/win-64::vs2015_runtime-14.29.30133-h43f2093_3
  wheel              pkgs/main/win-64::wheel-0.38.4-py37haa95532_0
  wincertstore       pkgs/main/win-64::wincertstore-0.2-py37haa95532_2


Proceed ([y]/n)? y


Downloading and Extracting Packages:

Preparing transaction: done
Verifying transaction: done
Executing transaction: done
#
# To activate this environment, use
#
#     $ conda activate wind_2021
#
# To deactivate an active environment, use
#
#     $ conda deactivate


(base) C:\Users\bim>
(base) C:\Users\bim>
(base) C:\Users\bim>

 

 

conda install pytorch==1.13.1 torchvision==0.14.1 torchaudio==0.13.1 cpuonly -c pytorch

 

(wind_2021) C:\Users\bim>
(wind_2021) C:\Users\bim>python
Python 3.7.0 (default, Jun 28 2018, 08:04:48) [MSC v.1912 64 bit (AMD64)] :: Anaconda, Inc. on win32
Type "help", "copyright", "credits" or "license" for more information.
>>>
>>>
>>> import torch
>>>
>>>
>>>
>>> print(torch.__version__)
1.13.1
>>>
>>>
>>>
>>> torch.cuda.is_available()
False
>>>
>>>
>>>
>>> exit()

(wind_2021) C:\Users\bim>

 

 

 

 

 

 

####################################

posted @ 2024-06-12 22:10  西北逍遥  阅读(3)  评论(0编辑  收藏  举报