Skip to content

Commit 9ed42c1

Browse files
committed
p3
1 parent 8330be7 commit 9ed42c1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

228.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,15 +41,15 @@
4141

4242
>pip是一个以Python计算机程序语言写成的软件包管理系统,它可以安装和管理软件包,另外不少的软件包也可以在“Python软件包索引”(英语:Python Package Index,简称PyPI)中找到。(源自《维基百科》)
4343
44-
首先,要安装pip。读者可以先检查一下,在你的操作系统中是否已经有了pip,因为有的操作系统,或者已经预先安装了,或者在安装Python的时候安装了。如果你确信没有安装,可以使用如下方法
44+
首先,要安装pip。读者可以先检查一下,在你的操作系统中是否已经有了pip,因为有的操作系统,或者已经预先安装了,或者在安装Python的时候安装了。如果你确信没有安装,就要针对你的操作系统进行安装,例如在Ubutun中
4545

46-
Debian and Ubuntu:
46+
Python 2:
4747

4848
sudo apt-get install python-pip
4949

50-
Fedora and CentOS:
50+
Python 3:
5151

52-
sudo yum install python-pip
52+
sudo apt-get install python3-pip
5353

5454
当然,也可以这里下载文件[get-pip.py](https://bootstrap.pypa.io/get-pip.py),然后执行`python get-pip.py`来安装。这个方法也适用于windows。
5555

0 commit comments

Comments
 (0)