Python开发环境配置(Windows)
来源:互联网 发布:台州淘宝网法院拍卖 编辑:程序博客网 时间:2024/05/16 13:40
Python开发环境配置
最近布置多台阿里云服务器的Python环境,使用的系统是windows server 2008, 每台服务器都得重新安装各种库,有些库的安装方式还比较奇葩,故记下以便后续使用。
1,首先下载Python安装包,到官网下载,我用的是python2.7.10。
2,添加环境变量:path后加上 ;C:\Python27;
3,安装easy_install
在https://pypi.python.org/pypi/setuptools/ 下载ez_setup.py。
打开cmd,切换到ez_setup.py所在文件夹,运行:python ez_setup.py install
4, 安装easy_install成功后,可以通过easy_install安装pip
先配置easy_install的环境变量:在path后添加 C:\Python27\Scriptseasy_install pip
5,安装 numpy时会出现以下错误:
error: Microsoft Visual C++ 9.0 is required (Unable to find vcvarsall.bat).Get it from http://aka.ms/vcpython27
这是需要安装Microsoft Visual C++ 2008 Express Edition 。
下载链接:http://rj.baidu.com/soft/detail/20492.html
默认安装,不用勾选两个可选的安装项。
- 6,关掉cmd窗口,重新打开,输入:
C:\Users\Administrator>pip install numpyCollecting numpy Using cached numpy-1.9.3.tar.gzInstalling collected packages: numpy Running setup.py install for numpySuccessfully installed numpy-1.9.3
- 7,安装其他库,直接用pip或easy_install 。
0 0
- Python开发环境配置(Windows)
- Windows环境下Python开发环境配置
- Python+Django+Mysql+Eclipse开发环境配置(Windows)
- Python Django windows 环境配置---(网站开发)
- windows下python开发环境的配置
- windows下配置python开发环境
- windows下配置python scrapy 开发环境
- windows环境下python web开发环境安装配置
- windows环境下python安装、配置、开发环境搭建
- Python学习【1】Windows下Python开发环境配置
- Windows Python 开发环境
- 在windows下安装配置python开发环境及Ulipad开发工具(转)
- 在windows下安装配置python开发环境及Ulipad开发工具(转)
- eclipse编译器配置python环境(windows)
- windows下配置python ,django,mysql,memcahe开发环境
- Python+Django在windows下的开发环境配置
- windows下Python,wxPython,py2exe开发环境安装与配置
- windows下配置python ,django,mysql,memcahe开发环境
- UIButton 按键
- 很用的JAVA工具类
- android应用打包成为安装包(常会出现的问题)
- ios获取系统时间
- operator运算符重载
- Python开发环境配置(Windows)
- java.sql.date与java.util.date,认识java.sql包(2015年10月9日)
- Android NDK编程浅入深出之--Android.mk(3)
- Requirement Specifications: An Oxymoron
- 均值漂移(meanshift)算法查找物体
- 【文件格式】BMP文件格式
- 怎么利用jira的Issue style 的可定制性来进行需求和测试用例方面的管理与testLink集成
- 飞思卡尔的I.MX6开发板 从eMMC启动设置
- 韩顺平 java 第35讲 事件处理机制