这是python-3.4.3.msi下载, 官方发布于2015-02-25。我用到的是ubuntu16.04 系统自带python3.5.2,由于我的开发板使用的版本为3.4.3,所以我要将我的计算机安装python3.4.3版本。
python-3.4.3.msiWindows X86-64 MSI Installer (Windows AMD64 / Intel 64 / X86-64 binary [1] -- does not include source)。
PEP 435, a standardized "enum" module
PEP 442, improved semantics for object finalization
PEP 443, adding single-dispatch generic functions to the standard library
PEP 445, a new C API for implementing custom memory allocators
PEP 446, changing file descriptors to not be inherited by default in subprocesses
1、下载python3.4.3
我使用的是我开发板编辑工具buildroot下载的源码,Python-3.4.3.tar.xz
2、解压
tar xvf Python-3.4.3.tar.xz
将自动解压到当前目录下
3、配置、编译、安装
进入解压后的目录
配置:./configure
编译:make
安装:sudo make install
4、设置链接,启动python自动启动python3.4.3
sudo ln -s /usr/local/bin/python3.4 /usr/local/bin/python
以后启动python就是python3.4.3