zoukankan      html  css  js  c++  java
  • 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
  • 相关阅读:
    由DBCursor的“can't switch cursor access methods”异常引发的思考
    在Java中使用元组类型的利器
    Linux命令行如何返回上一次的目录
    Linux下通过crontab命令来实现定时任务
    Spark任务踩到的坑
    Hadoop HDFS命令学习笔记
    Spark RDD学习笔记
    HBase的基本操作
    一张图5分钟熟悉MarkDown的基本语法
    C#跨线程操作控件的最简单实现探究
  • 原文地址:https://www.cnblogs.com/zengjfgit/p/6414722.html
Copyright © 2011-2022 走看看