美文网首页
Python3.6 安装配置

Python3.6 安装配置

作者: 开心的许久 | 来源:发表于2018-02-12 17:53 被阅读0次
  1. 安装依赖:
yum install openssl-devel bzip2-devel expat-devel gdbm-devel readline-devel sqlite-devel
  1. 确认安装 gcc
  2. 编译安装:python3.6
# ./configure
# make
# make altinstall
  1. 安装wheel:
# pip3.6 install wheel
  1. 安装常用包
# pip3.6 install numpy
# pip3.6 install pandas
# pip3.6 install matplotlib
# pip3.6 install requests
# pip3.6 install scipy
# pip3.6 install pypiwin32
# pip3.6 install Scikit-learn
# pip3.6 install TensorFlow
  1. 包下载地址
http://www.lfd.uci.edu/~gohlke/pythonlibs/

7.修改源
修改配置文件:~/.pip/pip.conf

[global]
index-url = https://pypi.tuna.tsinghua.edu.cn/simple
[install]
trusted-host=mirrors.aliyun.com

相关文章

网友评论

      本文标题:Python3.6 安装配置

      本文链接:https://www.haomeiwen.com/subject/gkcdtftx.html