Changes between Version 17 and Version 18 of MacSingleStepInstallerFigs


Ignore:
Timestamp:
Jan 19, 2020 2:29:15 PM (21 months ago)
Author:
toby
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • MacSingleStepInstallerFigs

    v17 v18  
    66Open a terminal window (use the Terminal app in !Applications/Utilities folder; typing terminal.app into the finder search box should find this for you).
    77
    8 In that window cut and paste the two commands below:
     8In that window cut and paste the three commands below:
    99
    1010{{{
     11mkdir -p ~/.conda
    1112g2="https://subversion.xray.aps.anl.gov/admin_pyGSAS/downloads/gsas2full-latest-MacOSX-x86_64.sh"
    1213curl "$g2" > /tmp/g2.sh; bash /tmp/g2.sh
     
    1718
    1819Note that this will fail if your network requires a proxy to access
    19 the internet. You can download the file with a browser and run it [#BrowserDownload using steps listed below.] You will need to know the proxy information in order to get GSAS-II to properly update.
     20the internet. In that case you can download the file with a browser and run it [#BrowserDownload using steps listed below.] You will need to know the proxy information in order to get GSAS-II to properly update.
    2021If you want to install GSAS-II onto a computer that does not have an internet connection (or has a slow or expensive connection, subsequent downloads will be small), use those steps and then move the downloaded file on a USB stick, etc.
    2122
     
    4243 [[Image(4.jpg, 400)]]
    4344
     45
     46
     47
     48
     49
     50
     51
     52
     53
     54
     55
     56
     57
     58
     59
     60
     61
     62
    4463 3. Type "```yes```" to accept the copyright information and start the installation.
    4564
    4665 [[Image(5.jpg, 400)]]
    4766
     67
     68
     69
     70
     71
     72
     73
     74
     75
     76
     77
     78
     79
     80
     81
     82
    4883 4. Enter a location for where the files should be installed, if the default is not what you prefer. The default will usually be OK, in which case you can simply press enter. Installation has not been tested where paths contain spaces or special characters, so it is a good idea to install GSAS-II in an alternate location if the default has spaces or Unicode characters. Note that GSAS-II cannot be moved once installed. If you need it to move it please reinstall and delete the old copy.
     84
     85  Make a note of where you have installed GSAS-II; this will be needed if you have problems with the software.
    4986
    5087 [[Image(6.jpg, 400)]]
    5188
    52  5. Wait while the installation of Python, etc occurs. There will typically be a long delay while nothing happens followed by a series of messages as packages are installed.
     89
     90
     91
     92
     93
     94
     95
     96
     97
     98
     99
     100
     101
     102
     103
     104
     105
     106
     107 5. Pressing enter to accept the default installation location or providing a installation location will trigger installation of the software with a series of messages. If the installation progresses normally, the final messages will appear as below:
    53108
    54109 [[Image(7.jpg, 400)]]
    55110
    56 === Step 4: ===
     111  If error or warning messages are seen, it is suggested that you save a screen image or use cut and paste to save the text in the window to a file. The most common [#InstallError error message is discussed below].
    57112
    58 After Python and packages are installed, the ```GSASII/bootstrap.py``` file is invoked to create shortcuts and update the GSAS-II files using program svn (subversion) from the APS server ```https://subversion.xray.aps.anl.gov/pyGSAS```
     113 6. It is recommended that you type "no" for the question about initializing gsas2full using conda init as it is not needed to run GSAS-II. If you say "yes" or use the default, then the version of Python installed by GSAS-II becomes the default version, which usually will not cause problems either. The installation completes with these messages (which can be ignored):
     114
     115 [[Image(8.jpg, 400)]]
     116
     117
     118[=#InstallError]
     119== Update Error Message ==
     120
     121After Python and packages are installed, the ```GSASII/bootstrap.py``` file is invoked. This tests that the
     122GSAS-II binaries files work, creates shortcuts and updates the GSAS-II files using program svn (subversion) from the APS server ```https://subversion.xray.aps.anl.gov/pyGSAS```. The svn update
     123requires a working internet connection. If the svn program is not able to update properly then this
    59124
    60125Note that the location of the Python image is shown here (```/Users/toby/g2full/bin/python```) this is worth noting in case you have installation problems and need to rerun the bootstrap.py script (see below).
    61126
    62  [[Image(8.jpg, 400)]]
    63127
    64128There will be a brief delay while the installer script processes the files and creates a shortcut app for starting GSAS-II. Note that the warning message "Sorry, failed to find..." will occur with older installers.