7 Star 1 Fork 22

src-openEuler / python-pip

 / 详情

pip3 install 下载失败

已验收
缺陷
创建于  
2023-09-06 17:42

**【标题描述】能够简要描述问题:pip3 install 下载失败

一、缺陷信息

内核信息:
kernel-6.4.0-3.0.0.11.oe2309

缺陷归属的版本:
python3-3.11.4-1.oe2309
python3-pip-23.1.2-2.oe2309
pip 23.1.2 from /usr/lib/python3.11/site-packages/pip (python 3.11)

缺陷简述:

执行以下:
pip3 config set global.index-url http://mirrors.tools.huawei.com/pypi/simple/
pip3 config set global.trusted-host mirrors.tools.huawei.com
pip3 install Django

有报错如下:
Looking in indexes: http://mirrors.tools.huawei.com/pypi/simple/
WARNING: The repository located at mirrors.tools.huawei.com is not a trusted or secure host and is being ignored. If this repository is available via HTTPS we recommend you use HTTPS instead, otherwise you may silence this warning and allow it anyway with '--trusted-host mirrors.tools.huawei.com'.
ERROR: Could not find a version that satisfies the requirement Django (from versions: none)
ERROR: No matching distribution found for Django
WARNING: The repository located at mirrors.tools.huawei.com is not a trusted or secure host and is being ignored. If this repository is available via HTTPS we recommend you use HTTPS instead, otherwise you may silence this warning and allow it anyway with '--trusted-host mirrors.tools.huawei.com'.

评论 (3)

我是白菜 创建了缺陷

Hi liwencheng6769, welcome to the openEuler Community.
I'm the Bot here serving you. You can find the instructions on how to interact with me at Here.
If you have any questions, please contact the SIG: Base-service, and any of the maintainers: @zhujianwei001 , @谢志鹏 , @Monday , @hexiaowen , @Lv Ying , @gaoruoshu , @陈子扬 , @HuBin95 , @znzjugod , @陈棋德

openeuler-ci-bot 添加了
 
sig/Base-service
标签

目前定位是由于该提交引入的问题:!134:Use local mirrors for pip
龙芯的源加条件判断没问题,但不要加入华为的源,影响到了软件的正常功能,需要将另外一个源删除

我是白菜 任务状态已完成 修改为已验收

登录 后才可以发表评论

状态
负责人
项目
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(3)
5329419 openeuler ci bot 1632792936
1
https://gitee.com/src-openeuler/python-pip.git
git@gitee.com:src-openeuler/python-pip.git
src-openeuler
python-pip
python-pip

搜索帮助