Python/pip:修订间差异
来自康健生活
创建页面,内容为“== 安装PIP == === 安装 === {{shc|<syntaxhighlight lang="bash"> easy_inatall pip</syntaxhighlight>}} === 卸载 === {{shc|<syntaxhighlight lang="bash"> python -m…” |
|||
| 第3行: | 第3行: | ||
{{shc|<syntaxhighlight lang="bash"> | {{shc|<syntaxhighlight lang="bash"> | ||
easy_inatall pip</syntaxhighlight>}} | easy_inatall pip</syntaxhighlight>}} | ||
==== 编译安装 ==== | |||
[https://pypi.org/ pypi] 官网下载 [https://pypi.org/project/pip/#files pip] 压缩包 | |||
{{shc|<syntaxhighlight lang="bash"> | |||
wget https://files.pythonhosted.org/packages/8e/76/66066b7bc71817238924c7e4b448abdb17eb0c92d645769c223f9ace478f/pip-20.0.2.tar.gz</syntaxhighlight>}} | |||
==== setuptools 安装 ==== | |||
[https://pypi.org/ pypi] 官网下载 [https://pypi.org/project/setuptools/#files setuptools] 压缩包 | |||
{{shc|<syntaxhighlight lang="bash"> | |||
wget https://files.pythonhosted.org/packages/b5/96/af1686ea8c1e503f4a81223d4a3410e7587fd52df03083de24161d0df7d4/setuptools-46.1.3.zip</syntaxhighlight>}} | |||
{{shc|<syntaxhighlight lang="bash"> | |||
python setup.py install</syntaxhighlight>}} | |||
=== 卸载 === | === 卸载 === | ||
{{shc|<syntaxhighlight lang="bash"> | {{shc|<syntaxhighlight lang="bash"> | ||