Debian for ARM install python 3.5.x

/**********************************************************************************
 *                   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

 

posted on 2017-02-19 04:48  zengjf  阅读(1064)  评论(0编辑  收藏  举报

导航