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
 

 

时间: 2024-08-02 04:13:24

Debian for ARM install python 3.5.x的相关文章

Debian For ARM mysql-server install information

/**************************************************************************** * Debian For ARM mysql-server install information * 说明: * 之前有提到安装mysql-server的时候,有出现无法配置的问题,今天再次尝试 * 安装,结果自然而然的通过了,这也是意料之外啊,目前不知道是为何,记录一下 * 安装信息. * * 2017-3-4 深圳 南山平山村 曾剑锋

How to Install Python on Linux

Summary Hostmonster uses the preinstalled version of Python that ships with CentOS. Because of this it is often not the latest release. This article will explain how to install an updated version of python locally. Download Python Enter the following

Debian for ARM

/************************************************************************* * Debian for ARM * 说明: * 尝试一下Debian for ARM,然后安装了一下MySQL,还是遇到以前遇到的问题, * 目前还是没有解决. * * 2017-2-17 深圳 南山平山村 曾剑锋 ******************************************************************

Debian For ARM Webmin Server

/******************************************************************************** * Debian For ARM Webmin Server * 说明: * 想找一个Web管理工具用在ARM上,但目前也不知道其他的软件,于是尝试安装一下 * Webmin,看一下效果如何,可行的,但是目前测试是在qemu里测试,有点卡,效果不是 * 很好的样子. * * 2017-3-4 深圳 南山平山村 曾剑锋 ********

Debian Linux下的Python学习——列表,元组和字典之字典

字典是python中唯一内建的映射类型:通过名字引用值,即把键和值联系在一起,键必须是唯一的,值可以重复 注:只能用不可变的对象(例如字符串)来作为字典的键, 语法:dic={key1:value1, key2:value2, key3:value3},键和值用冒号(:)分割,各个对用逗号(,)分割. 注:字典中的键/值对是没有顺序的.如果想要一个特定的顺序,应该在使用前自己对它们排序 空字典:dic={} 1. dict:将序列对转换为字典,或者创建字典,dict不带参数创建的字典是空字典 2

Debian Linux下的Python学习——列表,元组和字典之列表

列表,元组和字典都是通过某种方式组织在一起的数据元素的集合,属于数据结构. 列表和元组的主要区别在于,列表可以修改,元组不可以修改,当序列不能修改的时候用元组比较适合. 列表和元组是通过编号来引用存储值 字典是通过名字来引用存储值 本篇先讲列表 1.列表   1.1 列表初始化    空列表:list_none=[]    固定长度的空列表初始化:list_none1=[None]*5   #长度为5的空列表,None是python的内建值,表示什么也没有      实例:          

Debian Linux下的Python学习——基础知识

python中的基本数据类型是数和字符串,下面是python的基础知识学习,包括数,字符串,变量,标识符,对象. 1. 数  在Python中数类型包括:整数.长整数.浮点数和复数. 2是一个整数. 长整数是大一些的整数. 3.23和52.3E-4是浮点数的例子.E标记表示10的幂.在这里,52.3E-4表示52.3 * 10-4. (-5+4j)和(2.3-4.6j)是复数的例子.      输入代码:                        运行结果:                 

Debian Linux下的Python学习——函数

    python函数通过def关键字定义.def关键字后跟一个函数的标识符名称,然后跟一对圆括号.圆括号之中可以包括一些变量名,该行以冒号结尾.接下来是一块语句,它们是函数体.     1.无参数函数(函数不带参数)       代码:             运行:          2.带参函数      形参:函数中的参数名称(例如下面代码中的a,b)      实参:提供给函数调用的值(例如下面代码中的x,y)      2.1带普通参数函数      代码:            

Debian上安装TightVNC Server

from:www.penlug.org/twiki/bin/view/Main/TightVNC     Using VNC   The tool vncserver allows you to run additional X servers on a single machine. These X servers don't display anywhere, but instead you need to connect to them using vncviewer. The addit