阿里云Ubuntu系统安装python3.5过程
来源:互联网 发布:java怎么打包 编辑:程序博客网 时间:2024/05/17 18:16
在树莓派的debian系统很好安装,但转到阿里云上,用了我一天的时间才安装完成,期间反复了N次:
1.先下载安装包,在python官网上的
https://www.python.org/ftp/python/3.5.1/Python-3.5.1.tgz
2.解包
tar -xzvf Python-3.5.1.tgz
3.
./configure makemake install
以上为正常安装过程,安装完毕之后,出现错误提示:
gnoring ensurepip failure: pip 1.5.4 requires SSL/TLS
大约是这样的,就是openssl找不到,那我重新安装了好吧,可还是找不到
没办法只好把这个模块清理了重新安装一下:
先删除旧有的包:
apt-get remove opensslapt-get remove libssl-dev重新安装可以用 apt-get,也可以下载安装
sudo apt-get install opensslsudo apt-get install libssl-dev
也可以从这里下载安装包
https://www.openssl.org/source/
上传后:
tar zxvf openssl-1.0.1t.tar.gz进入解包后的文件夹:
cd openssl-1.0.1t
执行下面的指令:
./configmakemake install
安装完成
openssl version -a
查看无误,重新执行最上面安装python3.5的过程
不再报错
把pip3,easy_install链接一下,方便使用:
update-alternatives --install /usr/bin/pip pip /usr/local/bin/pip 1 update-alternatives --install /usr/bin/easy_instll easy_install /usr/local/bin/easy_install-3.5 2
0 0
- 阿里云Ubuntu系统安装python3.5过程
- ubuntu系统安装python3.5
- ubuntu系统下安装python3
- ubuntu安装python3.5
- Ubuntu 安装 python3.5
- ubuntu安装python3.5
- ubuntu安装python3.5
- ubuntu安装Python3.5
- Ubuntu安装Python3.5
- ubuntu安装python3.5
- ubuntu安装python3.5
- 阿里云Centos下安装升级Python3.5
- Ubuntu环境下安装python3.5保留系统python2.7
- 阿里云CentOS7中安装Python3.6
- 阿里云 CentOS7.4 安装 Python3.6
- 阿里云服务器 ECS Ubuntu系统安装配置
- 阿里云服务器 ECS Ubuntu系统安装配置
- 转载:阿里云服务器 ECS Ubuntu系统安装配置
- TFT LCD驱动
- 对LFW数据库的翻译【1】
- iOS _Xcode中模拟器页面切换慢动作
- 装饰模式
- Tomcat 系统架构与设计模式,第 2 部分: 设计模式分析
- 阿里云Ubuntu系统安装python3.5过程
- 秒杀多线程第二篇 多线程第一次亲密接触 CreateThread与_beginthreadex本质区别
- 【iOS开发】适配器模式与观察者模式
- JSONObject,JSONArray,Map,String之间转换
- 无题
- 非线性规划——qjzcy的博客
- 打印ListBox所有项
- getResource中文或有空格路径处理
- ssh默认远程连接端口修改办法