5 | | So far this has not worked. Probably because I need to do lots of updates to stay compatible with the downloads. This is what conda wants to update: |
| 5 | Since XP and Vista are no longer supported by Microsoft, I will assume the installation will be done by moving files to the computer with a USB stick or something similar rather than use of commands that require an internet connection (which would be way simpler) but you really do not want to put a computer with such an old an unprotected operating system on the internet -- please don't as you are just creating a haven for spammers and hackers to work from if you do. |
| 6 | |
| 7 | == Installing with Enthought EPD == |
| 8 | |
| 9 | We used to recommend use of the Enthough Python Distribution (EPD) which came in two flavors, one free and one by subscription, but this is now really old. I believe that the CIF code that we use needs a newer version of Python than this, but for Windows XP, I am not sure of any better choices. |
| 10 | |
| 11 | |
| 12 | |
| 13 | |
| 14 | === Install Python === |
| 15 | |
| 16 | * Download EPD with this link: |
| 17 | [https://s3.amazonaws.com/storage.enthought.com/installers/epd_free-7.3-2-win-x86.msi the EPDfree 32-bit Windows .msi file]. |
| 18 | |
| 19 | * Double-click on the downloaded .msi to start the installer, then follow the installation instructions. Make a note of where you install Python (e.g. {{{C:\Python27}}}). You will need this later. |
| 20 | |
| 21 | Note that this includes all the packages GSAS-II requires except PyOpenGL. |
| 22 | |
| 23 | === Install the GSAS-II files === |
| 24 | |
| 25 | Use this URL to obtain copies of the GSAS-II files with this URL: |
| 26 | * https://subversion.xray.aps.anl.gov/trac/pyGSAS/changeset/Head/trunk?old_path=%2F&format=zip |
| 27 | |
| 28 | This will download a file named {{{trunk-XXXX.zip}}} where {{{XXXX}}} is the current GSAS-II number version (be sure this is 4266 or later). Unzip this file where you download it (I could not unpack it in Windows XP). This will create a directory named {{{trunk}}} and rename the directory to GSASII. The move this to someplace without a space in the directory name such as C:\GSASII |
| 29 | |
| 30 | You will also need to download the GSAS-II binary files with this URL: |
| 31 | * https://subversion.xray.aps.anl.gov/trac/pyGSAS/changeset/Head/Binaries/win_32_p2.7_n1.6?old_path=%2F&format=zip |
| 32 | Unzipping this file will create a directory named win_32_p2.7_n1.6 inside an outer directory named Binaries. Move the files inside that directory to the directory named bindist inside the GSAS-II location (such as C:\GSASII\bindist) |
| 33 | |
| 34 | |
| 35 | === Install PyOpenGL === |
| 36 | |
| 37 | In a cmd window (run cmd.exe to create) enter this command: |
| 38 | {{{ |
| 39 | C:\Python27\Scripts\easy_install.exe C:\GSASII\PyOpenGL-3.0.2a5.zip}}} |
| 40 | }}} |
| 41 | |
| 42 | Note that you may need to change paths if Python was installed in a location other than {{{C:\Python27}}} and/or if GSAS-II was installed in a location other than {{{C:\GSASII}}} |
| 43 | |
| 44 | === Create a desktop shortcut === |
| 45 | |
| 46 | In a cmd window (run cmd.exe to create) enter this command: |
| 47 | {{{ |
| 48 | C:\Python27\Scripts\easy_install.exe C:\GSASII\PyOpenGL-3.0.2a5.zip}}} |
| 49 | }}} |
| 50 | |
| 51 | Note that you may need to change paths if Python was installed in a location other than {{{C:\Python27}}} and/or if GSAS-II was installed in a location other than {{{C:\GSASII}}} |
| 52 | |
| 53 | |
| 54 | |
| 55 | == Maybe someday: Installing with Anaconda or Miniconda == |
| 56 | |
| 57 | So far this has not worked, but this is listed here to help me remember what I tried. My guess is that the version of wxpython this installs is actually not compatible with XP. Perhaps an older version of anaconda with older wxpython might do, but I have not tried yet. |
| 58 | |
| 59 | Anaconda says that these releases are XP-compatible and do work, but when I add packages, GSAS-II crashes Python |
| 60 | |
| 61 | * https://repo.continuum.io/archive/Anaconda-2.3.0-Windows-x86_64.exe (64-bit) |
| 62 | * https://repo.continuum.io/archive/Anaconda-2.3.0-Windows-x86.exe (32-bit) |
| 63 | |
| 64 | |
| 65 | |
| 66 | This is what conda wants to update: |
71 | | === Install the GSAS-II files === |
72 | | |
73 | | Use this URL to obtain copies of the GSAS-II files: |
74 | | * https://subversion.xray.aps.anl.gov/trac/pyGSAS/changeset/Head/trunk?old_path=%2F&format=zip |
75 | | |
76 | | This will download a file named trunk-XXXX.zip where XXXX is the current GSAS-II version. Unzip this file which will create a directory named trunk and rename the directory to GSASII. The move this to someplace without a space in the directory name such as C:\GSASII |
77 | | |
78 | | You will also need to download the GSAS-II binary files: |
79 | | * https://subversion.xray.aps.anl.gov/trac/pyGSAS/changeset/Head/Binaries/win_32_p2.7_n1.6?old_path=%2F&format=zip |
80 | | Unzipping this file will create a directory named win_32_p2.7_n1.6 inside a directory named Binaries. Move the files inside that directory to the directory named bindist inside the GSAS-II location (C:\GSASII\bindist) |
81 | | |