Changes between Version 17 and Version 18 of MacSingleStepInstallerFigs
- Timestamp:
- Jan 19, 2020 2:29:15 PM (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
MacSingleStepInstallerFigs
v17 v18 6 6 Open a terminal window (use the Terminal app in !Applications/Utilities folder; typing terminal.app into the finder search box should find this for you). 7 7 8 In that window cut and paste the t wocommands below:8 In that window cut and paste the three commands below: 9 9 10 10 {{{ 11 mkdir -p ~/.conda 11 12 g2="https://subversion.xray.aps.anl.gov/admin_pyGSAS/downloads/gsas2full-latest-MacOSX-x86_64.sh" 12 13 curl "$g2" > /tmp/g2.sh; bash /tmp/g2.sh … … 17 18 18 19 Note 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.20 the 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. 20 21 If 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. 21 22 … … 42 43 [[Image(4.jpg, 400)]] 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 44 63 3. Type "```yes```" to accept the copyright information and start the installation. 45 64 46 65 [[Image(5.jpg, 400)]] 47 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 48 83 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. 49 86 50 87 [[Image(6.jpg, 400)]] 51 88 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: 53 108 54 109 [[Image(7.jpg, 400)]] 55 110 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]. 57 112 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 121 After Python and packages are installed, the ```GSASII/bootstrap.py``` file is invoked. This tests that the 122 GSAS-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 123 requires a working internet connection. If the svn program is not able to update properly then this 59 124 60 125 Note 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). 61 126 62 [[Image(8.jpg, 400)]]63 127 64 128 There 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.