SciPy is based on NumPy , so you need to install it first. NumPy , then install SciPy .
The installation of NumPy can be directly
scipy:http://sourceforge.net/projects/scipy/files/scipy/
Download the executable file, double-click Run, but the following error occurred:
Python version 2.7 is required, which were not found in the registry
Reason:
Win7 is a 64 reason, when you install Python (32-bit), if you choose only for the current user, the above problems will not appear, if you select all users, then the above problem occurs.
Workaround:
1, create the file register.py in G disk, copy the following code in
# # Script to register Python 2.0 or later-win32all# and other extensions that require Python registry setting s## written by Joakim Loew for Secret Labs ab/pythonware## source:# http://www.pythonware.com/products/works/articles/re gpy20.htm## modified by Valentine Gogichashvili as described in http://www.mail-archive.com/[email protected]/ msg10512.html Import sys from _winreg import * # tweak as Necessaryversion = Sys.version[:3]installpath = Sys.prefix Regpa th = "software\\python\\pythoncore\\%s\\"% (version) Installkey = "InstallPath" Pythonkey = "PythonPath" PythonPath = "%s; %s\\lib\\;%s\\dlls\\ "% (InstallPath, InstallPath, InstallPath) def registerpy (): Try:reg = Openkey (HKEY_CU Rrent_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): Clos EKey (reg) print "= = = Python", version, "is already registered!" Return Closekey (REG) Print "* * * Unable to register!" Print "* * * you probably has another Python installation!" if __name__ = = "__main__": Registerpy ()
Then in cmd the Python register.py is registered, and then the scipy is installed.
Reference:
Http://www.cnblogs.com/min0208/archive/2012/05/24/2515584.html
http://blog.csdn.net/luo123n/article/details/10027557
Windows7 under Installation scipy