**【标题描述】能够简要描述问题: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'.
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 , @陈棋德
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
目前定位是由于该提交引入的问题:!134:Use local mirrors for pip
龙芯的源加条件判断没问题,但不要加入华为的源,影响到了软件的正常功能,需要将另外一个源删除
/lgtm
登录 后才可以发表评论