1

我想用点子。我来啦:

$ python -m ensurepip --default-pip
Looking in links: /tmp/tmpd7_yb3oj
Requirement already satisfied: setuptools in /usr/local/lib/python3.8/site-packages (41.2.0)
Requirement already satisfied: pip in /usr/local/lib/python3.8/site-packages (19.2.3)

$ pip --version
-bash: pip: command not found

我错过了什么?

4

1 回答 1

1

您也可以使用 /usr/local/lib/pip3 install 。通常可访问的 pip3 存储在 /usr/bin/pip3 中,python3 也存储在 /usr/bin/python3 中。

于 2020-07-16T03:55:15.170 回答