要做的事情,python版本的切换命令

来源:互联网 发布:网络攻击主要技术分析 编辑:程序博客网 时间:2024/05/22 01:26

1、Python cx_Oracle 安装小记
https://www.2cto.com/kf/201509/441503.html

2、Install OpenCV 3.0 and Python 2.7+ on Ubuntu
https://www.pyimagesearch.com/2015/06/22/install-opencv-3-0-and-python-2-7-on-ubuntu/

3、Ubuntu 16.04安装Docker1.12+开发实例+hello world+web应用容器
http://www.linuxidc.com/Linux/2016-08/134133.htm
上面链接中的添加gpg key不能用,需要用到下面的链接的安装GPG KEY方法,步骤4、5
安装gpg key的方法https://www.cnblogs.com/windy-love/p/7059907.html
DOCKER安装的官方网站说明
https://docs.docker.com/engine/installation/linux/docker-ce/ubuntu/
DOCKER在UBUNTU下的安装有一个好的教程
http://www.bubuko.com/infodetail-1771568.html

4、看完这本书
https://wenku.baidu.com/view/ddf83b8a8e9951e79a892782.html?from=search

5、阿里云服务器部署web服务器

6、解决这样的问题

Reading package lists... DoneBuilding dependency tree       Reading state information... Doneapt-transport-https is already the newest version (1.2.24).ca-certificates is already the newest version (20170717~16.04.1).0 upgraded, 0 newly installed, 0 to remove and 94 not upgraded.3 not fully installed or removed.After this operation, 0 B of additional disk space will be used.Do you want to continue? [Y/n] ySetting up python-pip (8.1.1-2ubuntu0.4) ...Traceback (most recent call last):  File "/usr/bin/pycompile", line 35, in <module>    from debpython.version import SUPPORTED, debsorted, vrepr, \  File "/usr/share/python/debpython/version.py", line 24, in <module>    from ConfigParser import SafeConfigParserImportError: No module named 'ConfigParser'dpkg: error processing package python-pip (--configure): subprocess installed post-installation script returned error exit status 1Setting up python-setuptools (20.7.0-1) ...Traceback (most recent call last):  File "/usr/bin/pycompile", line 35, in <module>    from debpython.version import SUPPORTED, debsorted, vrepr, \  File "/usr/share/python/debpython/version.py", line 24, in <module>    from ConfigParser import SafeConfigParserImportError: No module named 'ConfigParser'dpkg: error processing package python-setuptools (--configure): subprocess installed post-installation script returned error exit status 1Setting up python-wheel (0.29.0-1) ...Traceback (most recent call last):  File "/usr/bin/pycompile", line 35, in <module>    from debpython.version import SUPPORTED, debsorted, vrepr, \  File "/usr/share/python/debpython/version.py", line 24, in <module>    from ConfigParser import SafeConfigParserImportError: No module named 'ConfigParser'dpkg: error processing package python-wheel (--configure): subprocess installed post-installation script returned error exit status 1Errors were encountered while processing: python-pip python-setuptools python-wheelE: Sub-process /usr/bin/dpkg returned an error code (1)

解决方法如下链接
https://www.cnblogs.com/gongxijun/p/5823595.html

7、PGP密钥的使用windows版本
7.1 实验 PGP软件的使用
https://wenku.baidu.com/view/0c6454e5c1c708a1284a4431.html
7.2 GPG(pgp)加解密中文完整教程
http://www.alexgao.com/2009/01/24/gpg/
7.3ubuntu的GPG使用方法
http://wowubuntu.com/gpg.html

8、如何退出DOCKER的容器

ctrl+d 退出容器且关闭, docker ps 查看无ctrl+p+q 退出容器但不关闭, docker ps 查看有 

9、terminal的常用快捷键
https://www.cnblogs.com/cplinux/p/5813065.html
9、python版本的切换命令

update-alternatives --config python 

10、好的DOCKER入门
http://dockone.io/article/111

原创粉丝点击