Python/Python源:修订间差异
来自康健生活
创建页面,内容为“== Python源 == 1)http://mirrors.aliyun.com/pypi/simple/ 阿里云 2)https://pypi.mirrors.ustc.edu.cn/simple/ 中国科技大学 3) http://pypi.douban.com/simple/…” |
无编辑摘要 |
||
| 第1行: | 第1行: | ||
== | == 源 == | ||
{| class="wikitable" | |||
|- | |||
| 阿里云 || http://mirrors.aliyun.com/pypi/simple/ | |||
|- | |||
| 中国科技大学 || https://pypi.mirrors.ustc.edu.cn/simple/ | |||
|- | |||
| 豆瓣 || http://pypi.douban.com/simple/ | |||
|- | |||
| 清华大学 || https://pypi.tuna.tsinghua.edu.cn/simple/ | |||
|- | |||
| 中国科学技术大学 || http://pypi.mirrors.ustc.edu.cn/simple/ | |||
|} | |||
== EPEL和IUS软件源 == | |||
{{shc|<syntaxhighlight lang="bash"> | |||
yum install epel-release -y | |||
yum install https://centos7.iuscommunity.org/ius-release.rpm -y</syntaxhighlight>}} | |||
安装Python3.6 | |||
{{shc|<syntaxhighlight lang="bash"> | |||
yum install python36u -y | |||
yum install python36u-devel -y</syntaxhighlight>}} | |||
创建python3连接符 | |||
{{shc|<syntaxhighlight lang="bash"> | |||
ln -s /bin/python3.6 /bin/python3</syntaxhighlight>}} | |||
安装pip3 | |||
{{shc|<syntaxhighlight lang="bash"> | |||
yum install python36u-pip -y</syntaxhighlight>}} | |||
创建pip3链接符 | |||
{{shc|<syntaxhighlight lang="bash"> | |||
ln -s /bin/pip3.6 /bin/pip3</syntaxhighlight>}} | |||