您的位置:首页 > 编程语言 > Python开发

Debian for ARM install python 3.5.x

2017-02-19 04:48 483 查看
/**********************************************************************************
*                   Debian for ARM install python 3.5.x
* 说明:
*     记录python3.5的安装方法,同时记录python3的pip的安装方法。
*
*                                              2017-2-20 深圳 南山平山村 曾剑锋
********************************************************************************/

1. ref:
1. Download Page for python3.5_3.5.3-1_armhf.deb on ARM Hard Float machines https://packages.debian.org/sid/armhf/python3.5/download 
2. resolve:
1. You should be able to use any of the listed mirrors by adding a line to your /etc/apt/sources.list like this:
deb http://ftp.de.debian.org/debian sid main
2. apt-get update
3. apt-get install python3.5

3. pip:
1. How to install pip with Python 3? http://stackoverflow.com/questions/6587507/how-to-install-pip-with-python-3 2. install module:
root@aplex:/# pip3 install python-can
qemu: Unsupported syscall: 384
The directory '/home/aplex/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/home/aplex/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Collecting python-can
Downloading python_can-1.5.2-py3-none-any.whl (79kB)
100% |████████████████████████████████| 81kB 164kB/s
Installing collected packages: python-can
Successfully installed python-can-1.5.2
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: