+++++++++++++++++++++++++++++++++++++++++++标题:python2.7.14安装部署(Linux)时间:2019年2月23日内容:Linux下python环境部署(2.7.14)以及学习如何能够更简单的安装python的模块重点:python环境部署,如何简单的安装python的模块+++++++++++++++++++++++++++++++++++++++++++1. 实验环境操作系统:centos Linux 6.6 X86 64bitpython:
问题背景: 机器上同时装了python2.和python3后,导致只能用pip3了,使用pip2时提示:Fatal error in launcher: Unable to create process using '"d:\python27\python2.exe" "D:\Python27\Scripts\pip2.exe" ' 解决方法: 执行 python -m pip,这种方式代替pip2,同理pip3如果失效,可以使用python3 -m pip代替p
1.常用json库主要有json-py和simplejson 1) json-py 包含json和minjson,用法一样 Python (#, Jan , ::) [GCC (Red Hat -)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import json >>