什么是get-pip.py校验和?我在哪里可以确定? [英] What is get-pip.py checksum? Where can I get it for sure?

查看:146
本文介绍了什么是get-pip.py校验和?我在哪里可以确定?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

pip文档(此处为: https://pip,这看起来很奇怪. pypa.io/zh-CN/stable/installing/)告诉要安装pip,请安全下载get-pip.py",但是没有校验和可以检查我是否下载了良好的get-pip.py文件.

It looks strange, that the pip documentation (here: https://pip.pypa.io/en/stable/installing/) tells "To install pip, securely download get-pip.py", but there is no checksum to check if I downloaded the good get-pip.py file.

建议使用像aptyum这样的程序包管理器,但是在Mac上我该怎么办?

It's recommended to use package manager like apt or yum, but what can I do on Mac?

所以问题是我在哪里可以获取get-pip.py的校验和以通过wget下载,以检查它是否可以正常运行(检查其完整性,文件在传输过程中是否未损坏或修改)并进行安装在我的Mac上?

So the question is where can I obtain checksum of get-pip.py to download it via wget, to check that it's okay (check it's integrity, that the file isn't corrupted or modified during transmission) and to install it on my Mac?

推荐答案

您可以直接从PyPI下载pip (采用源代码或转盘形式),并使用此处提供的MD5哈希或PGP签名.

You can download pip directly from PyPI, either in source or wheel form, and use either the MD5 hash or the PGP signature provided there.

这篇关于什么是get-pip.py校验和?我在哪里可以确定?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆