Python installation
PIP:
Python & OS Support
pip works with CPython versions 2.6, 2.7, 3.2, 3.3, 3.4 and also pypy.
pip works on Unix/Linux, OS X, and Windows.
pip included with Python
Python 2.7.9 and later (on the python2 series), and Python 3.4 and later include pip by default [1], so you may have pip already.
Install pip
To install pip, securely download get-pip.py. [2]
Then run the following (which may require administrator access):
- python get-pip.py
If setuptools is not already installed, get-pip.py
will install setuptools for you. [3]
To upgrade an existing setuptools, run pip install -U setuptools
.
Additionally, get-pip.py
supports using the pip install options and the general options. Below are some examples:
Install from local copies of pip and setuptools:
- python get-pip.py --no-index --find-links=/local/copies
Install to the user site [4]:
- python get-pip.py --user
Install behind a proxy:
- python get-pip.py --proxy="[user:passwd@]proxy.server:port"
setuptools安装好后,
(1)cd /d E:\pip-7.1.2
(2)python setup.py install
https://pypi.python.org/pypi/pip
xlrd
xlrd 0.9.4
Library for developers to extract data from Microsoft Excel (tm) spreadsheet files
Extract data from Excel spreadsheets (.xls and .xlsx, versions 2.0 onwards) on any platform. Pure Python (2.6, 2.7, 3.2+). Strong support for Excel dates. Unicode-aware.
(1)cd /d E:\xlrd-0.9.4
(2)python setup.py install
- E:\xlrd-0.9.4>python setup.py install
- running install
- running build
- running build_py
- creating build
- creating build\lib
- creating build\lib\xlrd
- copying xlrd\biffh.py -> build\lib\xlrd
- copying xlrd\book.py -> build\lib\xlrd
- copying xlrd\compdoc.py -> build\lib\xlrd
- copying xlrd\formatting.py -> build\lib\xlrd
- copying xlrd\formula.py -> build\lib\xlrd
- copying xlrd\info.py -> build\lib\xlrd
- copying xlrd\licences.py -> build\lib\xlrd
- copying xlrd\sheet.py -> build\lib\xlrd
- copying xlrd\timemachine.py -> build\lib\xlrd
- copying xlrd\xldate.py -> build\lib\xlrd
- copying xlrd\xlsx.py -> build\lib\xlrd
- copying xlrd\__init__.py -> build\lib\xlrd
https://pypi.python.org/pypi/xlrd
Python installation的更多相关文章
- (转) Eclipse - Python - Installation of PyDev with a Python Hello World tutorial
Once you finished your installation of Python on your Windows OS, GNU/Linux or Mac OS, let me tell ...
- 【python】nuitka封装python
官网:http://nuitka.net/doc/user-manual.html python打包工具对比:http://blog.csdn.net/qwemicheal/article/detai ...
- 安装 pywin32-218.win32-py2.7.exe 报错python version 2.7 required,which was not found in the registry解决方案
随便在一个盘下 新建register.py的文件,内容如下: # # script to register Python 2.0 or later for use with win32all ...
- python操作mysql总结
Windows系统,python环境搭建. 下载并安装python2.7.11 https://www.python.org/downloads/ 下载并安装python的mysql包: http:/ ...
- 【转】安装第三方库出现 Python version 2.7 required, which was not found in the registry
安装第三方库出现 Python version 2.7 required, which was not found in the registry 建立一个文件 register.py 内容如下. 然 ...
- Python 安装Twisted 提示python version 2.7 required,which was not found in the registry
由于我安装Python64位的,下载后没注册,安装Twisted时老提示“python version 2.7 required,which was not found in the registry ...
- 搭建基于python +opencv+Beautifulsoup+Neurolab机器学习平台
搭建基于python +opencv+Beautifulsoup+Neurolab机器学习平台 By 子敬叔叔 最近在学习麦好的<机器学习实践指南案例应用解析第二版>,在安装学习环境的时候 ...
- Python - Tips
01 - input与raw_input的区别 input() #可以直接输入数字,但输入字符的要用引号''或者双引号"" raw_input() #将所有的输入都直接当作一串字符 ...
- Embedding Python in C
http://codextechnicanum.blogspot.com/2013/12/embedding-python-in-c-converting-c.html //Make some vec ...
随机推荐
- HDU4960Another OCD Patient(间隙dp,后座DP)
Another OCD Patient Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 131072/131072 K (Java/Ot ...
- REST API 基于ACCESS TOKEN
REST API 基于ACCESS TOKEN 的权限解决方案 REST 设计原则是statelessness的,而且但客户端是APP时,从APP发起的请求,不是基于bowers,无法带相同的se ...
- Linux下关于解决JavaSwing中文乱码的情况(转)
前两天在linux中运行java 老是出乱码,很苦恼,后来网上找了好多解决办法.有些可行,有些不可行,今天总结一下. redhed 貌似没出现乱码 本身就jdk就支持中文 红旗linux suse等 ...
- gradle(转)
一.声明dependency 在build.gradle文件编辑以下代码: apply plugin: 'java' repositories { mavenCentral() } depen ...
- DFA和trie特里实现敏感词过滤(python和c语言)
今天的项目是与完成python开展,需要使用做关键词检查,筛选分类,使用前c语言做这种事情.有了线索,非常高效,内存小了,检查快. 到达python在,第一个想法是pip基于外观的c语言python特 ...
- 查看SQLSERVER内部数据页面的小插件Internals Viewer
原文:查看SQLSERVER内部数据页面的小插件Internals Viewer 查看SQLSERVER内部数据页面的小插件Internals Viewer 感觉internals viewer这个名 ...
- BZOJ 1324 Exca神剑 最小割
标题效果:给定一个n*m矩阵.所有的格宝石之子,人们可选择起始位置,后除去宝石的当前位置的周围消失,然后你就可以走两步,重复上述过程 easy发现格儿子把它周围格孩子不能拿 因此,党格访问问题 黑白染 ...
- 并发编程实践三:Condition
Condition实例始终被绑定到一个锁(Lock)上.Lock替代了Java的synchronized方法,而Condition则替代了Object的监视器方法,包含wait.notify和noti ...
- Android - 支持不同的设备
世界上有各种不一样形状和大小的Android设备.由于有各种不同类型的设备,你的app可能在各种设备上运行.为了在Android上尽可能的成功,你的app需要使配各种不同的设备.最重要的几点需要考虑的 ...
- AndroidUI的组成部分ProgressBar
package com.gc.progressbar; /* * 1.ProgressBar组件也是一组重要的组件,ProgressBar本身代表了进度条组件, * 它还派生了两个经常使用的组件:Se ...