Changes between Version 1 and Version 2 of WinAnacondaInstall


Ignore:
Timestamp:
May 26, 2015 4:36:04 PM (7 years ago)
Author:
toby
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WinAnacondaInstall

    v1 v2  
    33You will need to know if you are running 32- or 64-bit Windows (click here [http://windows.microsoft.com/en-us/windows7/find-out-32-or-64-bit if you are not sure]).
    44
    5 You will need to download the Anaconda package from [https://store.continuum.io/cshop/anaconda/ Continuum Analytics, Inc. download page]. (There is no cost for this, but an e-mail address is required.) Select the "32-bit — Python 2.7 — Graphical Installer" if on 32-bit Windows. For 64-bit windows either version can be used, but we recommend "Windows 64-bit Python 2.7 Graphical Installer" as that will handle larger packages.
     5 1. Download the Anaconda package from [https://store.continuum.io/cshop/anaconda/ Continuum Analytics, Inc. download page]. (There is no cost for this, but an e-mail address is required.) Select the "32-bit — Python 2.7 — Graphical Installer" if on 32-bit Windows. For 64-bit Windows, either version can be used, but we recommend the "Windows 64-bit Python 2.7 Graphical Installer" as that will handle much larger refinement projects.
    66
    7 You will download a file such as "Anaconda-2.x.x-Windows-x86.exe" (32-bit) or "Anaconda-2.2.0-Windows-x86_64.exe (64-bit). Click on that file to run the installer. You will be given the option to install for just yourself or for all users. Either option works, but if only one account is in use on your computer, "Just Me" is a bit easier. The default install location is fine, too. With the advanced options, it will be much easier to add Anaconda to your path, and make register Anaconda as the default Python.
     7 You will download a file such as "Anaconda-2.x.x-Windows-x86.exe" (32-bit) or "Anaconda-2.2.0-Windows-x86_64.exe (64-bit). Click on that file to run the installer. You will be given the option to install for just yourself or for all users. Either option works, but if only one account is in use on your computer, "Just Me" is a bit easier. The default install location is fine, but is OK to change. With the advanced options, it will be much easier to use the defaults, to add Anaconda to your path, and to register Anaconda as the default Python.
    88
    9 Once Anaconda is installed, in the "All Programs"/Anaconda menu, select "Anaconda Command Prompt" type command
     9 2. Once Anaconda is installed, in the "All Programs"/Anaconda menu, select "Anaconda Command Prompt" and then type command:
    1010
    11     conda install wxpython
     11    `conda install wxpython`
    1212
    13 because by default this package is not included. Press return and the package is loaded and installed.
     13 because by default this package is not included. Press return and the package is loaded and installed [attachment:CondaUpdate.png see screen image].
     14
     15 3. Download file ​https://subversion.xray.aps.anl.gov/pyGSAS/install/GSASIIproxy.zip. Click on this file in Windows Explorer, you should see a single folder named GSASII. Drag this file anywhere you want to install GSAS-II (your desktop, your Documents folder, the D: drive,...)
     16
     17 4. Execute the bootstrap.py file. This can be done a few different ways. The easiest is to click on the bootstrap file (actually named bootstrap.bat). (If you did not add Python to your path in step 1 above, you will need to edit that file to include the full path to `python.exe`.) You can also use a command something like:
     18
     19    `python \Users\<me>\Desktop\GSASII\bootstrap.py`
     20
     21 in a "All Programs"/Anaconda/"Anaconda Command Prompt" window.
     22
     23 This script will check to see that the Python packages needed to run GSAS-II are installed and that the subversion program needed to install and update from the internet (included in the .zip file) is present.
     24
     25 **Proxy address**: the script then asks for a proxy address. For most people, pressing return to use the default works fine, but for some sites a proxy address such as `proxyout.securesite.gov:7070` is needed. If you are not able to get the GSAS-II download to work, without a proxy, check with your network/computer administrators. Anyone competent should know if a proxy is in use. Supply the address (`proxyout.securesite.gov`) on the first line and the port number (`7070`) on the second.
     26
     27After the script completes, a file named `RunGSASII.bat` is created with the locations of GSAS-II and Python hardcoded. You should have a shortcut to start GSAS-II on your desktop linked to that .bat file. GSAS-II project files (with extension .gpx) will appear with the same icon and clicking on them will open them in GSAS-II.
    1428
    1529
    16 
    17