wiki:InstallWindows

Version 1 (modified by toby, 10 years ago) (diff)

--

Installing GSAS-II on Windows

Prerequisites: Before GSAS-II can be installed on your computer, you must install two software packages: python and subversion. These packages are distributed in a number of forms and are discussed below:

Python

Python is a computer scripting language, which means that one must have the Python interpreter installed on your computer to run a Python program. However, there are a number of Python packages required by GSAS-II that are not distributed within Python so not just any distribution of the Python interpreter will do. For development, we use EPD, but expect the other two distribution options will fine. Python and all the required packages are open source, so you could in theory download the source code and compile them yourself. Select and download one of the packages below and follow directions provided on that site for installation. Feedback on packages other than EPD is welcome. Note that at this time, GSAS-II does not support Python 3.0 or greater and Python 2.7 is recommended.

  • Enthought Python Distribution (EPD) is commercial licensed software that is distributed at no cost to students and employees of academic organizations. To install, download the .msi file and click on it to invoke the windows installer. Note that this package can be installed without administrator privileges -- I think -- if you install it for only your own use. You may have to choose an install location that you own (a subdirectory of My Documents, for example.)
  • Python(x,y) is a free Windows (and Linux) Python distribution. It focuses on supporting the Qt GUI package, while GSAS-II requires Wx, but this distribution does offer Wx and all the other packages that GSAS-II requires, as far as we are aware. Note that when you install, you will either need to install all packages or else customize to ensure that the Python packages required by GSAS-II are installed. To install, download the .exe file, run it and read the instructions.

Subversion

Subversion is a software version tracking system that allows you to download and update the GSAS-II software from the APS subversion server (https://subversion.xor.aps.anl.gov/pyGSAS/trunk/). You can install a variety of different versions of this software, but the two we recommend for Windows are these:

  • TortoiseSVN incorporates Subversion capabilities into Windows. See the downloads directory and be sure to install the version (64-bit or 32-bit) appropriate for your version of Windows. Link to Install Instructions