Bug 1065 - anolis 默认 pip / pip3 被覆盖
Summary: anolis 默认 pip / pip3 被覆盖
Status: RESOLVED FIXED
Alias: None
Product: Anolis OS 8
Classification: Anolis OS
Component: Images&Installations (show other bugs) Images&Installations
Version: 8.4
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: 赵明月
QA Contact: shuming
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-05-05 13:59 UTC by 赵明月
Modified: 2022-05-06 09:44 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 赵明月 alibaba_cloud_group 2022-05-05 13:59:14 UTC
Description of problem:


anolis  /user/local/bin 下的 pip / pip3 由于环境变量的原因,覆盖了通过rpm包管理器安装的 python3-pip

导致默认的 pip / pip3 虽处于高优先级,但是实际上不可用。
Comment 1 赵明月 alibaba_cloud_group 2022-05-06 09:44:29 UTC
版本:
~]# cat /etc/image-id
image_name="Anolis 8.4 RHCK 64 bit ARM Edition"
image_id="anolisos_8_4_arm64_20G_rhck_alibase_20211008.vhd"
release_date="20211008174633"

修复方式:
~]# ln -s /usr/bin/python3 /usr/bin/python


此问题只在老版本上有,新版本已修复