GIS之深度学习09:所需依赖库的安装

 

scipy==1.7.1
numpy==1.21.2
matplotlib==3.4.3
opencv_python==4.5.3.56
torch==1.7.1
torchvision==0.8.2
tqdm==4.62.2
Pillow==8.3.2
h5py==2.10.0

Microsoft Windows [版本 10.0.19045.2604]
(c) Microsoft Corporation。保留所有权利。

C:\Users\Administrator>activate gpupytorch

(gpupytorch) C:\Users\Administrator>pip install scipy==1.7.1
Collecting scipy==1.7.1
  Downloading scipy-1.7.1-cp38-cp38-win_amd64.whl.metadata (2.2 kB)
Collecting numpy<1.23.0,>=1.16.5 (from scipy==1.7.1)
  Downloading numpy-1.22.4-cp38-cp38-win_amd64.whl.metadata (2.1 kB)
Downloading scipy-1.7.1-cp38-cp38-win_amd64.whl (33.7 MB)
   ---------------------------------------- 33.7/33.7 MB 2.8 MB/s eta 0:00:00
Downloading numpy-1.22.4-cp38-cp38-win_amd64.whl (14.8 MB)
   ---------------------------------------- 14.8/14.8 MB 36.4 MB/s eta 0:00:00
Installing collected packages: numpy, scipy
  Attempting uninstall: numpy
    Found existing installation: numpy 1.24.3
    Uninstalling numpy-1.24.3:
      Successfully uninstalled numpy-1.24.3
Successfully installed numpy-1.22.4 scipy-1.7.1

(gpupytorch) C:\Users\Administrator>pip install numpy==1.21.2
Collecting numpy==1.21.2
  Downloading numpy-1.21.2-cp38-cp38-win_amd64.whl.metadata (2.1 kB)
Downloading numpy-1.21.2-cp38-cp38-win_amd64.whl (14.0 MB)
   ---------------------------------------- 14.0/14.0 MB 21.8 MB/s eta 0:00:00
Installing collected packages: numpy
  Attempting uninstall: numpy
    Found existing installation: numpy 1.22.4
    Uninstalling numpy-1.22.4:
      Successfully uninstalled numpy-1.22.4
Successfully installed numpy-1.21.2

(gpupytorch) C:\Users\Administrator>pip install opencv_python==4.5.3.56
Collecting opencv_python==4.5.3.56
  Downloading opencv_python-4.5.3.56-cp38-cp38-win_amd64.whl.metadata (17 kB)
Requirement already satisfied: numpy>=1.17.3 in d:\anaconda\envs\gpupytorch\lib\site-packages (from opencv_python==4.5.3.56) (1.21.2)
Downloading opencv_python-4.5.3.56-cp38-cp38-win_amd64.whl (34.9 MB)
   ---------------------------------------- 34.9/34.9 MB 10.6 MB/s eta 0:00:00
Installing collected packages: opencv_python
Successfully installed opencv_python-4.5.3.56

(gpupytorch) C:\Users\Administrator>pip install torch==1.7.1
Collecting torch==1.7.1
  Downloading torch-1.7.1-cp38-cp38-win_amd64.whl.metadata (22 kB)
Requirement already satisfied: typing-extensions in d:\anaconda\envs\gpupytorch\lib\site-packages (from torch==1.7.1) (4.10.0)
Requirement already satisfied: numpy in d:\anaconda\envs\gpupytorch\lib\site-packages (from torch==1.7.1) (1.21.2)
Downloading torch-1.7.1-cp38-cp38-win_amd64.whl (184.0 MB)
   ---------------------------------------- 184.0/184.0 MB 11.5 MB/s eta 0:00:00
Installing collected packages: torch
  Attempting uninstall: torch
    Found existing installation: torch 2.2.0+cpu
    Uninstalling torch-2.2.0+cpu:
      Successfully uninstalled torch-2.2.0+cpu
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
torchvision 0.17.0+cpu requires torch==2.2.0, but you have torch 1.7.1 which is incompatible.
Successfully installed torch-1.7.1

(gpupytorch) C:\Users\Administrator>pip install torchvision==0.8.2
ERROR: Ignored the following yanked versions: 0.1.6, 0.1.7, 0.1.8, 0.1.9, 0.2.0, 0.2.1, 0.2.2, 0.2.2.post2, 0.2.2.post3, 0.11.0, 0.15.0
ERROR: Could not find a version that satisfies the requirement torchvision==0.8.2 (from versions: 0.5.0, 0.9.0, 0.9.1, 0.10.0, 0.10.1, 0.11.1, 0.11.2, 0.11.3, 0.12.0, 0.13.0, 0.13.1, 0.14.0, 0.14.1, 0.15.1, 0.15.2, 0.16.0, 0.16.1, 0.16.2, 0.17.0, 0.17.1)
ERROR: No matching distribution found for torchvision==0.8.2

(gpupytorch) C:\Users\Administrator>pip install torch==2.2.0
Collecting torch==2.2.0
  Downloading torch-2.2.0-cp38-cp38-win_amd64.whl.metadata (26 kB)
Requirement already satisfied: filelock in d:\anaconda\envs\gpupytorch\lib\site-packages (from torch==2.2.0) (3.13.1)
Requirement already satisfied: typing-extensions>=4.8.0 in d:\anaconda\envs\gpupytorch\lib\site-packages (from torch==2.2.0) (4.10.0)
Requirement already satisfied: sympy in d:\anaconda\envs\gpupytorch\lib\site-packages (from torch==2.2.0) (1.12)
Requirement already satisfied: networkx in d:\anaconda\envs\gpupytorch\lib\site-packages (from torch==2.2.0) (3.1)
Requirement already satisfied: jinja2 in d:\anaconda\envs\gpupytorch\lib\site-packages (from torch==2.2.0) (3.1.3)
Requirement already satisfied: fsspec in d:\anaconda\envs\gpupytorch\lib\site-packages (from torch==2.2.0) (2024.2.0)
Requirement already satisfied: MarkupSafe>=2.0 in d:\anaconda\envs\gpupytorch\lib\site-packages (from jinja2->torch==2.2.0) (2.1.5)
Requirement already satisfied: mpmath>=0.19 in d:\anaconda\envs\gpupytorch\lib\site-packages (from sympy->torch==2.2.0) (1.3.0)
Downloading torch-2.2.0-cp38-cp38-win_amd64.whl (198.6 MB)
   ---------------------------------------- 198.6/198.6 MB 22.6 MB/s eta 0:00:00
Installing collected packages: torch
  Attempting uninstall: torch
    Found existing installation: torch 1.7.1
    Uninstalling torch-1.7.1:
      Successfully uninstalled torch-1.7.1
Successfully installed torch-2.2.0

(gpupytorch) C:\Users\Administrator>pip install tqdm==4.62.2
Collecting tqdm==4.62.2
  Downloading tqdm-4.62.2-py2.py3-none-any.whl.metadata (56 kB)
     ---------------------------------------- 57.0/57.0 kB 333.6 kB/s eta 0:00:00
Collecting colorama (from tqdm==4.62.2)
  Downloading colorama-0.4.6-py2.py3-none-any.whl.metadata (17 kB)
Downloading tqdm-4.62.2-py2.py3-none-any.whl (76 kB)
   ---------------------------------------- 76.2/76.2 kB 835.2 kB/s eta 0:00:00
Downloading colorama-0.4.6-py2.py3-none-any.whl (25 kB)
Installing collected packages: colorama, tqdm
Successfully installed colorama-0.4.6 tqdm-4.62.2

(gpupytorch) C:\Users\Administrator>pip install pillow==8.3.2
Collecting pillow==8.3.2
  Downloading Pillow-8.3.2-cp38-cp38-win_amd64.whl.metadata (7.5 kB)
Downloading Pillow-8.3.2-cp38-cp38-win_amd64.whl (3.2 MB)
   ---------------------------------------- 3.2/3.2 MB 6.6 MB/s eta 0:00:00
Installing collected packages: pillow
  Attempting uninstall: pillow
    Found existing installation: pillow 10.2.0
    Uninstalling pillow-10.2.0:
      Successfully uninstalled pillow-10.2.0
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
torchvision 0.17.0+cpu requires pillow!=8.3.*,>=5.3.0, but you have pillow 8.3.2 which is incompatible.
Successfully installed pillow-8.3.2

(gpupytorch) C:\Users\Administrator>pip install h5py==2.10.0
Collecting h5py==2.10.0
  Downloading h5py-2.10.0-cp38-cp38-win_amd64.whl.metadata (2.0 kB)
Requirement already satisfied: numpy>=1.7 in d:\anaconda\envs\gpupytorch\lib\site-packages (from h5py==2.10.0) (1.21.2)
Collecting six (from h5py==2.10.0)
  Downloading six-1.16.0-py2.py3-none-any.whl.metadata (1.8 kB)
Downloading h5py-2.10.0-cp38-cp38-win_amd64.whl (2.5 MB)
   ---------------------------------------- 2.5/2.5 MB 5.5 MB/s eta 0:00:00
Downloading six-1.16.0-py2.py3-none-any.whl (11 kB)
Installing collected packages: six, h5py
Successfully installed h5py-2.10.0 six-1.16.0

(gpupytorch) C:\Users\Administrator>

  • 9
    点赞
  • 9
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

GIS萬事通

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值