環境:python
CentOS Linux release 7.6.1810 (Core) 緩存
Python3.6.xurl
wget -O /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-7.repo ###aliyun-mirrors
spa
yum clean all && yum makecache && yum repolist ###清理本地緩存庫及拉取最新的code
yum install -y python36 python36-pip ### yum search python3,查看存在的rpmblog
[root@beng yum.repos.d]# python3 -V ###驗證
Python 3.6.8ip
vi ~/.pip/pip.conf ###對當前帳戶有效ci
[global] index-url=http://mirrors.aliyun.com/pypi/simple/ [install] trusted-host=mirrors.aliyun.com
pip3 install ipython ### yum install -y python36-ipython_genutilsget
pip3 install numpy scipy pandas ###安裝科學庫pandas