DEPRECATION: The HTML index page being used (http://mirrors.aliyun.com/pypi/simple/mpmath/)

DEPRECATION: The HTML index page being used (http://mirrors.aliyun.com/pypi/simple/tqdm/) is not a proper HTML 5 document. This is in violation of PEP 503 which requires these pages to be well-formed HTML 5 documents. Please reach out to the owners of this index page, and ask them to update this index page to a valid HTML 5 document. pip 22.2 will enforce this behaviour change. Discussion can be found at https://github.com/pypa/pip/issues/10825
Collecting tqdm>=4.27
  Downloading http://mirrors.aliyun.com/pypi/packages/2a/14/e75e52d521442e2fcc9f1df3c5e456aead034203d4797867980de558ab34/tqdm-4.66.2-py3-none-any.whl (78 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 78.3/78.3 KB 25.3 MB/s eta 0:00:00
Requirement already satisfied: pyyaml>=5.1 in /usr/lib/python3/dist-packages (from transformers) (5.4.1)
DEPRECATION: The HTML index page being used (http://mirrors.aliyun.com/pypi/simple/packaging/) is not a proper HTML 5 document. This is in violation of PEP 503 which requires these pages to be well-formed HTML 5 documents. Please reach out to the owners of this index page, and ask them to update this index page to a valid HTML 5 document. pip 22.2 will enforce this behaviour change. Discussion can be found at https://github.com/pypa/pip/issues/10825
Collecting packaging>=20.0
  Downloading http://mirrors.aliyun.com/pypi/packages/49/df/1fceb2f8900f8639e278b056416d49134fb8d84c5942ffaa01ad34782422/packaging-24.0-py3-none-any.whl (53 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 53.5/53.5 KB 19.4 MB/s eta 0:00:00
DEPRECATION: The HTML index page being used (http://mirrors.aliyun.com/pypi/simple/psutil/) is not a proper HTML 5 document. This is in violation of PEP 503 which requires these pages to be well-formed HTML 5 documents. Please reach out to the owners of this index page, and ask them to update this index page to a valid HTML 5 document. pip 22.2 will enforce this behaviour change. Discussion can be found at https://github.com/pypa/pip/issues/10825
Collecting psutil
  Downloading http://mirrors.aliyun.com/pypi/packages/c5/4f/0e22aaa246f96d6ac87fe5ebb9c5a693fbe8877f537a1022527c47ca43c5/psutil-5.9.8-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (288 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 288.2/288.2 KB 16.8 MB/s eta 0:00:00
DEPRECATION: The HTML index page being used (http://mirrors.aliyun.com/pypi/simple/mpmath/) is not a proper HTML 5 document. This is in violation of PEP 503 which requires these pages to be well-formed HTML 5 documents. Please reach out to the owners of this index page, and ask them to update this index page to a valid HTML 5 document. pip 22.2 will enforce this behaviour change. Discussion can be found at https://github.com/pypa/pip/issues/10825
Collecting mpmath>=0.19
  Downloading http://mirrors.aliyun.com/pypi/packages/43/e3/7d92a15f894aa0c9c4b49b8ee9ac9850d6e63b03c9c32c0367a13ae62209/mpmath-1.3.0-py3-none-any.whl (536 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 536.2/536.2 KB 40.1 MB/s eta 0:00:00
Installing collected packages: mpmath, typing-extensions, tqdm, sympy, safetensors, regex, psutil, packaging, nvidia-nvtx-cu12, nvidia-nvjitlink-cu12, nvidia-nccl-cu12, nvidia-curand-cu12, nvidia-cufft-cu12, nvidia-cuda-runtime-cu12, nvidia-cuda-nvrtc-cu12, nvidia-cuda-cupti-cu12, nvidia-cublas-cu12, numpy, networkx, fsspec, filelock, triton, nvidia-cusparse-cu12, nvidia-cudnn-cu12, huggingface-hub, tokenizers, nvidia-cusolver-cu12, transformers, torch, bitsandbytes, accelerate
^[[1;2BSuccessfully installed accelerate-0.29.3 bitsandbytes-0.43.1 filelock-3.14.0 fsspec-2024.3.1 huggingface-hub-0.22.2 mpmath-1.3.0 networkx-3.3 numpy-1.26.4 nvidia-cublas-cu12-12.1.3.1 nvidia-cuda-cupti-cu12-12.1.105 nvidia-cuda-nvrtc-cu12-12.1.105 nvidia-cuda-runtime-cu12-12.1.105 nvidia-cudnn-cu12-8.9.2.26 nvidia-cufft-cu12-11.0.2.54 nvidia-curand-cu12-10.3.2.106 nvidia-cusolver-cu12-11.4.5.107 nvidia-cusparse-cu12-12.1.0.106 nvidia-nccl-cu12-2.20.5 nvidia-nvjitlink-cu12-12.4.127 nvidia-nvtx-cu12-12.1.105 packaging-24.0 psutil-5.9.8 regex-2024.4.28 safetensors-0.4.3 sympy-1.12 tokenizers-0.19.1 torch-2.3.0 tqdm-4.66.2 transformers-4.40.1 triton-2.3.0 typing-extensions-4.11.0
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv

这些黄色的信息是指关于pip的一些弃用警告(Deprecation Warnings)。这些警告提醒你正在使用的一些Python包索引页面(如 Aliyun 的 PyPI 镜像)不符合PEP 503规定的标准。根据PEP 503,所有的PyPI仓库的HTML索引页面都必须是符合规范的HTML 5文档。

在这些特定的警告中,pip指出了以下几点:

  1. 问题描述:指出你正在访问的PyPI镜像索引页面(如tqdmpackaging等包的页面)是非标准的HTML 5文档。

  2. 可能的后果:从pip版本22.2开始,将强制执行此行为变更,这意味着如果索引页面没有更新为有效的HTML 5文档,可能会在未来的版本中出现问题,如无法正常使用这些镜像源下载和安装包。

  3. 建议行动:建议用户联系这些索引页面的所有者,请求他们更新这些页面以符合HTML 5的标准。

  4. 讨论链接:提供了关于这个问题的讨论链接,用户可以通过该链接了解更多详情或参与讨论。

针对这种情况,你有几个选择:

  • 联系镜像提供者:如提示所述,请求他们更新其索引页面,使之符合标准。
  • 切换到其他镜像源:如果持续遇到问题,可以考虑使用其他PyPI镜像源或直接使用官方的PyPI源。
  • 升级pip:确保你的pip版本是最新的,以便适应可能的变更。

如果你经常使用这些镜像并希望避免未来可能出现的问题,最好是按照上述建议进行操作。如果需要进一步的帮助或有其他问题,随时欢迎提问。

  • 9
    点赞
  • 5
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

打赏作者

MonkeyKing.sun

对你有帮助的话,可以打赏

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

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

打赏作者

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

抵扣说明:

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

余额充值