Changes between Version 23 and Version 24 of InstallWindowsSvn
- Timestamp:
- Apr 19, 2013, 10:38:08 AM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
InstallWindowsSvn
v23 v24 5 5 === Python === 6 6 7 We use {{{python}}} as our programming environment together with a number of standard python packages such as {{{numpy, scipy, matplotlib, netcdf4}}}. One of the easiest waysto install all the required packages is to use a distribution like {{{python_xy}}}.7 We use {{{python}}} as our programming environment together with a number of standard python packages such as {{{numpy, scipy, matplotlib, netcdf4}}}. One way to install all the required packages is to use a distribution like {{{python_xy}}}. 8 8 9 So first install [http://code.google.com/p/pythonxy/ python xy]. This will be a large download, maybe 300 MB or more, but will provide a complete installation of {{{python}}} for our needs. You should probably remove any other version of {{{python}}} and {{{mingw}}} that may be on your system. The {{{python xy}}} package is currently only 32 bits, but this will still work on 64 bit Windows. 9 ==== Python xy ==== 10 11 So first install [http://code.google.com/p/pythonxy/ python xy]. This will be a large download, maybe 500 MB or more, but will provide a complete installation (well see NetCDF4 note below) of {{{python}}} for our needs . You should first remove any other version of {{{python}}} and {{{mingw}}} that may be on your system. The {{{python xy}}} package is currently only 32 bits, but this will still work on 64 bit Windows. 10 12 11 13 Be sure to choose the win32 {{{python 2.7}}} version. This is the version for which we are developing. 12 14 13 As mentioned, at the moment {{{python xy}}} is only 32 bit, but there seems to be a promise that a 64 bit distribution is not too far away. There is a 64 bit python distribution package from Enthought, but is free only to academic users. So at present we recommend win32 {{{python xy}}}. 15 ==== Netcdf4 Note ==== 16 17 As of version 2.7.3.1 (April 2013) {{{python xy}}} seems to be missing {{{netCDF4}}}. Well so for the time being we will need to install another package to cover this loss. For this we can use the precompiled scientific python binaries from [http://www.lfd.uci.edu/~gohlke/pythonlibs/#scientificpython here]. I suggest you choose {{{ScientificPython-2.9.2.win32-py2.7.exe}}} to install. 18 19 ==== 64 bit ==== 20 21 At the moment {{{python xy}}} is only 32 bit, but there seems to be a promise that a 64 bit distribution is not too far away. There is a 64 bit python distribution package from Enthought, but is free only to academic users. So at present we recommend win32 {{{python xy}}}. 22 23 ==== Manual install ==== 24 25 It is possible to install the required environment manually. You would need to install {{{Mingw}}} to provide a compiler, the standard distribution of {{{python27}}} and then precompiled python libraries for {{{numpy, scipy, matplotlib, netcdf4}}} from the site [http://www.lfd.uci.edu/~gohlke/pythonlibs/] 14 26 15 27 … … 21 33 22 34 First we need to get the actual anuga source code. We do this by checking out the anuga 23 repository using subversion. I suggest installing [http://tortoisesvn.net/ tortoise svn] and then checking out the following svn repository.35 repository using subversion. I suggest installing [http://tortoisesvn.net/downloads.html tortoise svn downloads] and then checking out the following svn repository. 24 36 When you installed {{{tortoise svn}}} it creates a few extra menu items to your right click menu in the file manager. Just choose "tortoise" checkout to download the code. 25 37