python - 如何使用 Python 3.8 安装 pip?
问题描述
我想知道如何使用最新版本的 Python 3.8 安装 pip。我尝试将 curl https://bootstrap.pypa.io/get-pip.py > get-pip.py 放入命令行,但出现语法错误,看起来像这样enter image description here我想知道是否有人可以告诉我我做错了什么。
解决方案
您需要在shell 命令行上执行该代码,而不是在 Python 中。
但除此之外,通常还有更好的安装 pip 的方法,请参考官方说明。
推荐阅读
- flutter - Flutter 将单选按钮逻辑应用于选择芯片
- javascript - 单击图像后,如何将图像与另一个图像交换?
- javascript - Javascript 等到元素加载到网站上使用 chrome 扩展
- rust - Cargo 无法使用 Darwin Target 编译 hyper
- javascript - iframe 在悬停时重新加载到其他组件,例如:工具提示
- javascript - 在 Javascript 中,如果缺少环境变量,我该如何抛出错误?
- api - 有什么方法可以通过qbxml api找出quickbooks桌面中哪个用户修改了记录?
- python - 为什么函数将错误的值附加到列表中?
- for-loop - Office 脚本 --> For 循环 --> 范围错误
- javascript - 护照本地策略通过静态失败简单访问两个目录