Edison开发板系列-Edison安装python3.5

需要在Edison for Arduino上安装Python 3.5以上版本,记录下步骤

步骤

1.编译生成

1
2
3
4
5
6
cd /home
wget --no-check-certificate http://mirrors.sohu.com/python/3.5.2/Python-3.5.2.tgz
tar -xvf Python-3.5.2.tgz
cd Python-3.5.2/
./configure --with-pydebug
make -s -j2

编译过程前4分钟无输出,继续等待到9分钟结束。

2. 替换库

1
2
rm /usr/bin/python
ln -s $(pwd)/python /usr/bin/python

测试了下没有发现什么问题,尽情使用吧


参考

https://docs.python.org/devguide/setup.html
https://communities.intel.com/message/276542#276542