Changes between Initial Version and Version 1 of WindowsInstallTheHardWay

Jan 8, 2020 10:25:35 PM (2 years ago)



  • WindowsInstallTheHardWay

    v1 v1  
     1= Installing GSAS-II on Windows the Hard Way =
     3Overview: Installing GSAS-II requires three things: installing a Python distribution, a download package (subversion) and the actual GSAS-II code.
     5Use these instructions if you are using 32-bit Windows, or a version of Windows older than Windows-7 or want to install Python yourself.
     7There are at least three different distributions of Python that can be used with GSAS-II. If you want to use a specific Python distribution, please see these installation directions such as
     8or [WinCanopyInstall Quick Install with Enthought Canopy].
     10== Installation Details for the Curious ==
     12=== Python ===
     14Python 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 several [PythonPackages Python packages required by GSAS-II] that are not distributed within the standard Python distribution, so not just any version of the Python interpreter will do for GSAS-II unless compatible versions of the required packages are available.
     16 * We find that the [ Anaconda Python distribution] is the most easy option. While GSAS-II will work with the legacy Python 2.7 version, we are recommending use of Python 3.7 and NumPy 1.15 (for a list of supported combinations of OS, Python and NumPy,  [ see this directory], where names are of form <OS>_<bits>_p<PYver>_n<NPver>. If you use something else, you will need to compile your own binaries. 
     18  * [WinAnacondaInstall Configuring with Continuum Anaconda]
     20 * [ Enthought Canopy] is a Python distribution from a company that has done quite a bit of work in Python and made that available to the community. We have not done any testing with this for a while, but have done so in the past and expect it to work fine.
     22 * [ Python(x,y)] is a free Windows (and Linux) Python distribution. It focuses on supporting the Qt GUI package while GSAS-II requires wxPython, 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 select to install all packages or else perform a customized installation to ensure that the [PythonPackages Python packages required by GSAS-II] are installed. To install, download the .exe file, run it and read the instructions.
     24 * [ ActiveState ActivePython] This is commercial licensed software that includes a free version with no support. !ActiveState is well respected in the scripting community, but we have not tried this yet.
     26 * We used to recommend the predecessor to Canopy, the Enthough Python Distribution (EPD) which came in two flavors, one free and one by subscription. We still do some testing with this to ensure that our software is backwards compatible. There are older instructions here for installing GSAS-II using [WinOldInstall the Enthought EPDfree package], but this is no longer recommended.
     28=== Subversion ===
     30Subversion is a software version tracking system that allows you to download and update the GSAS-II software directly from the APS subversion server ( You can install a variety of different versions of this software, but the two we recommend for Windows are these:
     32 * [ 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 -- this must match the OS or it will not run. Once TortoiseSVN is installed, follow [TortoiseInstall these installation instructions]
     34'''''or (not recommended)'''''
     36 * mini-svn kit: A 2.5 Mb zip file has been prepared that contains a minimal SVN package, along with a batch file for installing GSAS-II from the APS subversion server. Use these [ZipInstall Installation Instructions] to use this kit. The installer here ( is quite old and should be updated from this link:
     38'''''or (not recommended)'''''
     40 * If you are unable to access the subversion server for some reason and must use a conventional download (note that in all the cases so far where people have been seemed to be blocked have turned out to be fixed through addition of a proxy server), you can download a snapshot of the current version of GSAS-II using this URL:
     44 This will supply all the GSAS-II files in a zip archive. The contents of this archive can be moved to the location where GSAS-II will be installed.
     46 We discourage use of this because you will need to repeat the entire download every time you want to upgrade; GSAS-II is updated often (sometimes daily!).
     48=== Compiling Fortran Code ===
     50'''''Normally you will not need to compile anything.''''' The GSAS-II distribution contains compiled .pyd (library modules) needed by a 32-bit or a 64-bit Python version 2.7 interpreter for Windows. However, if you are working with an unusual python interpreter or are doing GSAS-II development, compilation instructions can be [CompilingWindows found here].