更新时间:2023-02-21 09:23:05
您应该采取的方法是为 Python 3.2 安装 pip
.
The approach you should take is to install pip
for Python 3.2.
您可以通过以下方式执行此操作:
You do this in the following way:
$ curl -O https://bootstrap.pypa.io/get-pip.py
$ sudo python3.2 get-pip.py
然后,您可以使用 pip-3.2
安装 Python 3.2 的东西,并使用 pip-2.7
安装 Python 2-7 的东西.pip
命令最终将指向其中之一,但我不确定是哪个,因此您必须检查.
Then, you can install things for Python 3.2 with pip-3.2
, and install things for Python 2-7 with pip-2.7
. The pip
command will end up pointing to one of these, but I'm not sure which, so you will have to check.