如何在Arch Linux中安装最新版本的Python和PIP?
我的默认操作系统是 Arch linux ,以及安装在其上的Python版本为3.1。
我使用 aur 默认情况下,此版本的Python并为其安装PIP,因为当我尝试使用 pip 时,我会收到此消息:
python3.9 -m pip
输出:
/usr/bin/python3.9: No module named pip
My default operating system is Arch Linux, and the Python version installed on it is 3.1.
I installed version 3.9 using AUR, but I do not know how to systematize this version of Python by default and install pip for it, because when I try to use pip, I get this message:
python3.9 -m pip
Output:
/usr/bin/python3.9: No module named pip
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
PIP应该正常安装,如果不是,则应有一个 pip 的软件包,但是如果您无法安装它,则可以通过<来完成 pip em> susepip 模块:
参考文档以获取更多信息。
Pip should be installed normally, and if not, there should be a package for pip, but if you cannot install it for whatever reason, installing pip can be done via the ensurepip module:
Reference the documentation for more information.