Python安装完Numpy,SciPy和MatplotLib后,可以成为非常犀利的科研利器。本人搜索诸多安装教程后才找到正确的资源来配置,共享下。
安装环境:64位python2.7
下载http://pan.baidu.com/s/1c1Phqko中三个库的exe,因为MatplotLib的使用需要以Numpy的支持,所以先点击安装Numpy,其次是Scipy,最后是MatplotLib,一路点击next即可。
安装时如果出现了Python 2.7 was not found in the registry的错误信息,则新建一个register.py,复制下面代码运行,输出:Python 2.7 is already registered就代表问题已解决。
# script to register Python 2.0 or later for use with win32all # and other extensions that require Python registry settings # # written by Joakim Loew for Secret Labs AB / PythonWare # # source: # http://www.pythonware.com/products/works/articles/regpy20.htm # # modified by Valentine Gogichashvili as described in http://www.mail-archive.com/distutils-sig@python.org/msg10512.html import sys from _winreg import * # tweak as necessary version = sys.version[:3] installpath = sys.prefix regpath = "SOFTWARE\\Python\\Pythoncore\\%s\\" % (version) installkey = "InstallPath" pythonkey = "PythonPath" pythonpath = "%s;%s\\Lib\\;%s\\DLLs\\" % ( installpath, installpath, installpath ) def RegisterPy(): try: reg = OpenKey(HKEY_CURRENT_USER, regpath) except EnvironmentError as e: try: reg = CreateKey(HKEY_CURRENT_USER, regpath) SetValue(reg, installkey, REG_SZ, installpath) SetValue(reg, pythonkey, REG_SZ, pythonpath) CloseKey(reg) except: print "*** Unable to register!" return print "--- Python", version, "is now registered!" return if (QueryValue(reg, installkey) == installpath and QueryValue(reg, pythonkey) == pythonpath): CloseKey(reg) print "=== Python", version, "is already registered!" return CloseKey(reg) print "*** Unable to register!" print "*** You probably have another Python installation!" if __name__ == "__main__": RegisterPy()
相关推荐
一组win7 x64的python(numpy scipy matplotlib sklearn)安装包及安装说明,亲试可用
win64 python2.7+numpy+scipy+matplotlib64-exe
学习python过程中想使用python的matlabplot绘图功能,遇到了一大批问题,然后一路过关斩将,最终安装成功,实为不易,发帖留念。 1 首先打开cmd win+r 2 pip安装 pip3 install –user numpy scipy matplotlib –...
想做Python数据分析的童鞋可以下载,亲测可用
ScipySuperpack, OSX的Numpy scipy Matplotlib iPython和PyMC的最近构建 用于 Homebrew的 scipy Superpack最新版本的基本 python 科学计算包这里 shell script 将构建并安装 python scientific,包括 Numpy,scipy ...
收集很久的python画图64位安装套装,不要错过哦
Python安装Numpy、Scipy、Matlotlib、Scikit-learn等库的过程及遇到的问题解决方法,其中主要是版本问题。 安装过程参考教程:http://blog.csdn.net/eastmount/article/details/50347383 [python] 安装numpy+scipy+...
python2.7+numpy+scipy+matplotlib(机器学习工具win64)
配置Python+numpy+scipy+matplotlib环境.pdf
叫你如何使用python到如何使用numpy数组以及如何画图等用途,最后叫你如何使用sklearn框架调用机器学习方法
Python科学计算基本模块安装文件,包括Python3.4、scipy和matplotlib,均是whl文件,由于上传文件大小限制,numpy文件可在http://www.lfd.uci.edu/~gohlke/pythonlibs/中下载。whl文件可用pip安装。
windows64+Python3.4下Numpy+Scipy+Matplotlib安装文件,部分含有.exe文件
主要介绍了详解Python中的Numpy、SciPy、MatPlotLib安装与配置,具有一定的参考价值,感兴趣的小伙伴们可以参考一下
numpy安装 下载地址:https://pypi.python.org/pypi/numpy(各取所需) copy安装目录。eg:鄙人的D:\python3.6.1\...以上这篇python安装numpy&安装matplotlib& scipy的教程就是小编分享给大家的全部内容了,希望能给大
在学习《机器学习实战》Python实现版时,搜集了很久才搜集齐的安装包,包括绘图和数学工具库及其依赖库等,有python 2.7.8, matplotlib,numpy, pyparsing, six, scipy, dateutil等,都是win7 64位的包。
python数据分析工具一网打尽(python2.7+numpy+matplotlib+scipy+pyparsing+dateutil) 可以直接使用pip安装各种工具,不需要再到处找!
win7 32位环境下python2.7的numpy,scipy,matplotlib,scikit-learn模块安装教程。附whl安装文件。64位环境下的安装也可参考。(由于资源大小限制,分两部分上传,此为part1)
Windows xp系统下安装matplotlib,所需的whl文件,包含matplotlib、numpy、scipy. 先安装numpy,再安装scipy。由于该系统的生产环境无互联网,所以需要先在手头可以连接网络的设备上下载所需的package的whl文件。...