Bug 6169 - pytorch 安装后pip list 查看的版本信息与yum源的版本信息不一致
Summary: pytorch 安装后pip list 查看的版本信息与yum源的版本信息不一致
Status: RESOLVED FIXED
Alias: None
Product: Anolis OS 23
Classification: Anolis OS
Component: BaseOS Packages (show other bugs) BaseOS Packages
Version: 23.0
Hardware: x86_64 Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: xuchunmei
QA Contact: bolong_tbl
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-16 14:06 UTC by feitian200603
Modified: 2023-09-07 17:06 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description feitian200603 alibaba_cloud_group 2023-08-16 14:06:04 UTC
[root@localhost CenterNet]# pip3 list |grep torch
[root@localhost CenterNet]#
[root@localhost CenterNet]#
[root@localhost CenterNet]#
[root@localhost CenterNet]# yum install pytorch-python3-2.0.1-2.an23.x86_64
Last metadata expiration check: 1:39:47 ago on Tue 15 Aug 2023 05:34:50 PM CST.
Dependencies resolved.
===========================================================================================================
 Package                       Architecture         Version                       Repository          Size
===========================================================================================================
Installing:
 pytorch-python3               x86_64               2.0.1-2.an23                  EPAO                12 M

Transaction Summary
===========================================================================================================
Install  1 Package

Total download size: 12 M
Installed size: 68 M
Is this ok [y/N]: y
Downloading Packages:
pytorch-python3-2.0.1-2.an23.x86_64.rpm                                     11 MB/s |  12 MB     00:01
-----------------------------------------------------------------------------------------------------------
Total                                                                       11 MB/s |  12 MB     00:01
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                   1/1
  Installing       : pytorch-python3-2.0.1-2.an23.x86_64                                               1/1
  Running scriptlet: pytorch-python3-2.0.1-2.an23.x86_64                                               1/1
  Verifying        : pytorch-python3-2.0.1-2.an23.x86_64                                               1/1

Installed:
  pytorch-python3-2.0.1-2.an23.x86_64

Complete!
[root@localhost CenterNet]# pip3 list |grep torch
torch                                          2.0.0a0+gitunknown
Comment 1 xuchunmei alibaba_cloud_group 2023-09-07 17:06:49 UTC
在pytorch-2.0.1-3.an23 版本中修复。

# pip3 list | grep torch
torch                                          2.0.1