Version 27 (modified by toby, 3 years ago) (diff) |
---|
Installing GSAS-II with a Single-Step Download (with figures)
This process downloads an installer that will place a working version of Python and the required packages onto your computer, it will then initially install a slightly out-of-date version of GSAS-II including the binaries files needed for running on a Mac. If internet access is available, the GSAS-II distribution site will be checked and updates will be applied to bring GSAS-II up to date. If the installer is moved to a computer without an internet connection, this will provide a working, though slightly out-of-date, copy of GSAS-II.
Use the following steps to install GSAS-II on a Mac:
Step 1:
In this step you will download a file and then use bash to run it. A simple way to do this is to 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).
In that window cut and paste the two commands below:
g2="https://subversion.xray.aps.anl.gov/admin_pyGSAS/downloads/gsas2full-Latest-MacOSX-x86_64.sh" curl "$g2" > /tmp/g2.sh; bash /tmp/g2.sh -b -p ~/g2full
A few notes on this step.
- By using the -b option in the command above, you are agreeing to the Python and GSAS-II license shown below; the text of the GSAS-II license is also below.
- The -p option specifies where GSAS-II is installed. Note that -p ~/g2full installs GSAS-II into directory g2full in your home folder. Change ~/g2full if desired.
- The curl command will likely fail if your network requires a proxy to access the internet. In that case you can download file https://subversion.xray.aps.anl.gov/admin_pyGSAS/downloads/gsas2full-Latest-MacOSX-x86_64.sh by clicking on it here in your browser and run it using steps listed below. Note though that you will need to know the proxy settings in order to get GSAS-II to properly update, see ProxyInfo for more.
- If you want to install GSAS-II onto a computer that does not have an internet connection (or has a slow or expensive connection), download file https://subversion.xray.aps.anl.gov/admin_pyGSAS/downloads/gsas2full-Latest-MacOSX-x86_64.sh on a computer with better access and move the downloaded file on a USB stick, etc to where you wish to install it. Note that the installation process will use the internet if access is available, but usually only very minor amounts of information will be transferred. Installation will complete properly even without network access, but a not quite up-to-date version of GSAS-II will be will installed.
Step 2:
As soon as enter is pressed after the second command, the download starts, as shown immediately below. The file downloaded is circa 250 Mb, so you may see this complete in seconds or minutes.
Once the file is downloaded, Python and GSAS-II are installed from the downloaded file and a significant amount of information is displayed (shown below). The installation will then pause and you will be asked to supply a proxy address, as shown below. The need for a proxy is rare, so most people will only need to press enter here (see ProxyInfo for more details).
Step 3:
Once the proxy information is entered, bootstrap.py is run to update GSAS-II. An error message (see example in output shown below if a network connection is not present or proxy information is needed, but the installation will still continue. If the computer is connected to the internet later it will be possible to run updates from inside the GSAS-II help menu. Likewise proxy information can be supplied within GSAS-II and then updates will also be possible, see below.
After this step, bootstrap.py is run again, but this time the processing is done to speed up application startup and to create a AppleScript to launch GSAS-II (GSAS-II.app). Apple security rules introduced in Big Sur (MacOS 11.0) block running GSAS-II.app. The only way that I (Brian) have found to change that is to edit the file it in the Script Editor. This is implemented in the installation process, but the first time this is done, MacOS asks for permission to run this (as shown immediately below).
Note that OK must be pressed within 2 minutes or the request times out. (Should that happen, in Script Editor, select the GSAS-II window and then in the File menu, select Save).
At this point, the installation process ends, where the terminal window appears as immediately below and a finder window opened with the newly created GSAS-II application selected.
Step 4
App permissions: Note that again Apple security rules restrict the use of the new app. The first time it is used by double-clicking on the app, you will be asked to grant permission for it to create a terminal, as shown below (depending on the MacOS version).
Click OK and three windows should open (the terminal window, the GSAS-II main window and the GSAS-II Plots window).
For reasons I do not understand, sometimes the installer does not succeed is setting permissions and this message is displayed:
When this occurs, press the Edit button, which opens the app in the Script Editor. Use the File/Save? command in the Script Editor and then close the window (quitting the Script Editor is a good idea). Then repeat this step and the initial message allowing you to grant permission for GSAS-II to access Terminal should be displayed.
Step 5 (Optional)
Drag to Dock: if desired, the GSAS-II app created before can be dragged to the Dock to make launching GSAS-II simple, as diagrammed below.
Step 6 (Optional)
Create Alias: Note that while the GSAS-II.app file can be dragged to the dock, it cannot be moved or renamed. Should you wish to have a shortcut to run GSAS-II in another location (such as on your desktop) or wish to use another name, you need to make an alias to it. To create an alias, hold down the control button and click on the GSAS-II app (or use right-click with a 2 or 3 button mouse), this causes a menu of options to be shown, as seen below:
When "Make Alias" is selected, an alias with name GSAS-II alias is created in the same folder, as seen below. This alias file can be moved and/or renamed.
Shortcuts
Note that it is also possible to start GSAS-II with terminal commands such as these:
source <condapath>/bin/activate G2 python <condapath>/envs/G2/GSASII/GSASII.py
Where <condapath> is the location where GSAS-II was installed (~/g2full unless something else was selected). The installer places these commands in file <condapath>/start_GSASII.sh
Likewise, it is sometimes useful to rerun the bootstrap.py process. This can be done with terminal commands:
source <condapath>/bin/activate python <condapath>/GSASII/bootstrap.py
The installer places these commands in file <condapath>/start_G2_bootstrap.sh.
Seeking help
There must be better ways to control application permissions in MacOS than what is done here, but I have not been able to determine how to control this either from AppleScripts or from command line programs. I would very much welcome information on better ways to do this. Please contact brian.toby at ANL.gov if you can offer some knowledge.
Older installers
See these older instructions? for infomation on older distributions. They may be needed for systems with older versions of MacOS. Note that these installers do require an internet connection to complete the installation.
Installing with a web proxy or to a system without the internet
If the above "curl" command in step 1 fails, but you are able to download the same file in a web browser, your network is most likely set up so that internet traffic is routed through a proxy computer. If you have a proxy, you will need to know either the name or IP address of the proxy computer and you will need to know the IP port (usually 80 but sometimes something else, such as 8080 or 8000.) Finding a network administrator who knows what your site is doing can be tough but may be needed to get updating to work. The web site http:/www.whatismyproxy.com/ may help.
The easiest way to setup a proxy is to download the installation file with a browser and start it, as described in steps A1 and A2 below, then continue with step 2, above. After completing this installation process, start GSAS-II and from inside GSAS-II use the File/"Edit Proxy" menu command to enter the proxy information; check if the values work using the Help/"Check for Updates" menu command to update to the latest version.
Step A1:
Download this file in a web browser:
- https://subversion.xray.aps.anl.gov/admin_pyGSAS/downloads/gsas2full-Latest-MacOSX-x86_64.sh (provides Python 3.7, all required Python packages and a recent version of GSAS-II which will be updated via the internet; can be installed on computers without an internet connection, but without that update.) This file is also available here https://anl.app.box.com/v/GSASIIdistributions, where you will need to use the "..." menu to the right of entry gsas2full-latest-MacOSX-x86_64.sh to download that file.
Step A2:
Execute this file.
Type "bash " into a terminal window (note space after "h"), then drag the downloaded file from a finder window into the terminal window.
This places the file name with full path name into the terminal window, then press Enter.
Prompted Installation
If the installer is is run without
Answer prompts from the install script.
- Press enter to start the procedure
- Press space several times to page through the copyright notice. For convenience the full text from this screen and the GSAS-II license are shown below.
- Type "yes" to accept the copyright information and start the installation.
- 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.
Make a note of where you have installed GSAS-II; this will be needed if you have problems with the software.
- 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:
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 error message is discussed below.
- 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):
Licenses
GSAS-II Information & Anaconda license:
==================================================== This is a single-download installer for GSAS-II. It includes other software such as subversion (svn, used to update GSAS-II), a Python interpreter and a number of Python packages required by GSAS-II. The file you are running will install GSAS-II, Python, etc. and will then run the bootstrap.py script to create shortcuts and will use svn to update to the latest version of GSAS-II, if an internet connection is available. Note that the bootstrap.py script can be rerun manually to obtain updates. *** Note that while this installer can be rerun to install the software in a new location, once these files are installed, they should not be moved. *** If you use GSAS-II in your research, please show your support by citing: B.H. Toby & R.B. Von Dreele, J. Appl. Cryst. 46, 544-549 (2013) (also see Help/About) See the GSAS-II source code for license information. Material below is relevant to the Anaconda Python distribution, which is freely provided by Continuum Analytics, Inc. ==================================================== Copyright (c) 2016, Continuum Analytics, Inc. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of Continuum Analytics, Inc. nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL CONTINUUM ANALYTICS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
GSAS-II License:
General Structure Analysis System - II (GSAS-II) OPEN SOURCE LICENSE Copyright 2010, UChicago Argonne, LLC, Operator of Argonne National Laboratory All rights reserved. GSAS-II may be used by anyone on a royalty-free basis. Use and redistribution, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Software changes, modifications, or derivative works should be noted with comments and the author and organization's name. * Distribution of changed, modified or derivative works based on GSAS-II grants the GSAS-II copyright holder unrestricted permission to include any, or all, new and changed code in future GSAS-II releases. * Redistributions that include binary forms must include all relevant source code and reproduce the above copyright notice, this list of conditions and the following disclaimers in the documentation and/or other materials provided with the distribution. * Neither the names of UChicago Argonne, LLC or the Department of Energy nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. * The software and the end-user documentation included with the redistribution, if any, must include the following acknowledgment: "This product includes software produced by UChicago Argonne, LLC under Contract No. DE-AC02-06CH11357 with the Department of Energy." ***************************************************************************** WARRANTY DISCLAIMER: THE SOFTWARE IS SUPPLIED "AS IS" WITHOUT WARRANTY OF ANY KIND. THE COPYRIGHT HOLDERS, THEIR THIRD PARTY LICENSORS, THE UNITED STATES, THE UNITED STATES DEPARTMENT OF ENERGY, AND THEIR EMPLOYEES: (1) DISCLAIM ANY WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE OR NON-INFRINGEMENT, (2) DO NOT ASSUME ANY LEGAL LIABILITY OR RESPONSIBILITY FOR THE ACCURACY, COMPLETENESS, OR USEFULNESS OF THE SOFTWARE, (3) DO NOT REPRESENT THAT USE OF THE SOFTWARE WOULD NOT INFRINGE PRIVATELY OWNED RIGHTS, (4) DO NOT WARRANT THAT THE SOFTWARE WILL FUNCTION UNINTERRUPTED, THAT IT IS ERROR-FREE OR THAT ANY ERRORS WILL BE CORRECTED. LIMITATION OF LIABILITY: IN NO EVENT WILL THE COPYRIGHT HOLDERS, THEIR THIRD PARTY LICENSORS, THE UNITED STATES, THE UNITED STATES DEPARTMENT OF ENERGY, OR THEIR EMPLOYEES: BE LIABLE FOR ANY INDIRECT, INCIDENTAL, CONSEQUENTIAL, SPECIAL OR PUNITIVE DAMAGES OF ANY KIND OR NATURE, INCLUDING BUT NOT LIMITED TO LOSS OF PROFITS OR LOSS OF DATA, FOR ANY REASON WHATSOEVER, WHETHER SUCH LIABILITY IS ASSERTED ON THE BASIS OF CONTRACT, TORT (INCLUDING NEGLIGENCE OR STRICT LIABILITY), OR OTHERWISE, EVEN IF ANY OF SAID PARTIES HAS BEEN WARNED OF THE POSSIBILITY OF SUCH LOSS OR DAMAGES. ******************************************************************************
Installer Output
toby@macos-11 ~ % g2="https://subversion.xray.aps.anl.gov/admin_pyGSAS/downloads/gsas2full-Latest-MacOSX-x86_64.sh" toby@macos-11 ~ % curl "$g2" > /tmp/g2.sh; bash /tmp/g2.sh -b -p ~/g2full % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 236M 100 236M 0 0 13.9M 0 0:00:16 0:00:16 --:--:-- 14.1M PREFIX=/Users/toby/g2full Unpacking payload ... Collecting package metadata (current_repodata.json): done Solving environment: done ## Package Plan ## environment location: /Users/toby/g2full added / updated specs: - apr==1.6.3=he795440_0 - backports.lzma==0.0.14=py37hd621484_0 - backports==1.0=pyhd3eb1b0_2 - blas==1.0=mkl - brotlipy==0.7.0=py37h9ed2024_1003 - ca-certificates==2020.12.8=hecd8cb5_0 - certifi==2020.12.5=py37hecd8cb5_0 - cffi==1.14.4=py37h2125817_0 - chardet==4.0.0=py37hecd8cb5_1003 - conda-package-handling==1.7.2=py37h22f3db7_0 - conda==4.9.2=py37hecd8cb5_0 - cryptography==3.3.1=py37hbcfaee0_0 - cycler==0.10.0=py37_0 - cyrus-sasl==2.1.27=h0a44026_7 - expat==2.2.10=hb1e8313_2 - freetype==2.10.4=ha233b18_0 - gettext==0.19.8.1=hb0f4f8b_2 - gsas2complete==4750=0 - h5py==2.10.0=py37h0601b69_1 - hdf5==1.10.6=hdbbcd12_0 - idna==2.10=py_0 - imageio==2.9.0=py_0 - intel-openmp==2019.4=233 - jpeg==9b=he5867d9_2 - kiwisolver==1.3.0=py37h23ab428_0 - krb5==1.18.2=h75d18d8_0 - lcms2==2.11=h92f6f08_0 - libcxx==10.0.0=1 - libdb==6.1.26=h0a44026_0 - libedit==3.1.20191231=h1de35cc_1 - libffi==3.3=hb1e8313_2 - libgfortran==3.0.1=h93005f0_2 - libiconv==1.16=h1de35cc_0 - libpng==1.6.37=ha441bb4_0 - libtiff==4.1.0=hcb84e12_0 - libutf8proc==2.1.1=h1de35cc_0 - lz4-c==1.8.1.2=h1de35cc_0 - matplotlib-base==3.3.2=py37h181983e_0 - matplotlib==3.3.2=hecd8cb5_0 - mkl-service==2.3.0=py37h9ed2024_0 - mkl==2019.4=233 - mkl_fft==1.2.0=py37hc64f4ea_0 - mkl_random==1.1.1=py37h959d312_0 - ncurses==6.2=h0a44026_1 - numpy-base==1.18.5=py37h3304bdc_0 - numpy==1.18.5=py37h1da2735_0 - olefile==0.46=py37_0 - openssl==1.1.1i=h9ed2024_0 - pillow==8.1.0=py37h5270095_0 - pip==20.3.3=py37hecd8cb5_0 - pycosat==0.6.3=py37h9ed2024_0 - pycparser==2.20=py_2 - pyopengl==3.1.1a1=py37_0 - pyopenssl==20.0.1=pyhd3eb1b0_1 - pyparsing==2.4.7=py_0 - pysocks==1.7.1=py37hecd8cb5_0 - python-dateutil==2.8.1=py_0 - python.app==2=py37_10 - python==3.7.9=h26836e1_0 - pytz==2020.5=pyhd3eb1b0_0 - readline==8.0=h1de35cc_0 - requests==2.25.1=pyhd3eb1b0_0 - ruamel_yaml==0.15.87=py37haf1e3a3_1 - scipy==1.5.2=py37h912ce22_0 - serf==1.3.9=hae1257d_0 - setuptools==51.0.0=py37hecd8cb5_2 - six==1.15.0=py37hecd8cb5_0 - sqlite==3.33.0=hffcf06c_0 - svn==1.10.2=h670755d_0 - tk==8.6.10=hb0a8c7a_0 - tornado==6.1=py37h9ed2024_0 - tqdm==4.55.1=pyhd3eb1b0_0 - urllib3==1.26.2=pyhd3eb1b0_0 - wheel==0.36.2=pyhd3eb1b0_0 - wxpython==4.0.4=py37hebc47a7_0 - xz==5.2.5=h1de35cc_0 - yaml==0.2.5=haf1e3a3_0 - zlib==1.2.11=h1de35cc_3 - zstd==1.3.7=h5bba6e5_0 The following NEW packages will be INSTALLED: apr pkgs/main/osx-64::apr-1.6.3-he795440_0 backports pkgs/main/noarch::backports-1.0-pyhd3eb1b0_2 backports.lzma pkgs/main/osx-64::backports.lzma-0.0.14-py37hd621484_0 blas pkgs/main/osx-64::blas-1.0-mkl brotlipy pkgs/main/osx-64::brotlipy-0.7.0-py37h9ed2024_1003 ca-certificates pkgs/main/osx-64::ca-certificates-2020.12.8-hecd8cb5_0 certifi pkgs/main/osx-64::certifi-2020.12.5-py37hecd8cb5_0 cffi pkgs/main/osx-64::cffi-1.14.4-py37h2125817_0 chardet pkgs/main/osx-64::chardet-4.0.0-py37hecd8cb5_1003 conda pkgs/main/osx-64::conda-4.9.2-py37hecd8cb5_0 conda-package-han~ pkgs/main/osx-64::conda-package-handling-1.7.2-py37h22f3db7_0 cryptography pkgs/main/osx-64::cryptography-3.3.1-py37hbcfaee0_0 cycler pkgs/main/osx-64::cycler-0.10.0-py37_0 cyrus-sasl pkgs/main/osx-64::cyrus-sasl-2.1.27-h0a44026_7 expat pkgs/main/osx-64::expat-2.2.10-hb1e8313_2 freetype pkgs/main/osx-64::freetype-2.10.4-ha233b18_0 gettext pkgs/main/osx-64::gettext-0.19.8.1-hb0f4f8b_2 gsas2complete builds/osx-64::gsas2complete-4750-0 h5py pkgs/main/osx-64::h5py-2.10.0-py37h0601b69_1 hdf5 pkgs/main/osx-64::hdf5-1.10.6-hdbbcd12_0 idna pkgs/main/noarch::idna-2.10-py_0 imageio pkgs/main/noarch::imageio-2.9.0-py_0 intel-openmp pkgs/main/osx-64::intel-openmp-2019.4-233 jpeg pkgs/main/osx-64::jpeg-9b-he5867d9_2 kiwisolver pkgs/main/osx-64::kiwisolver-1.3.0-py37h23ab428_0 krb5 pkgs/main/osx-64::krb5-1.18.2-h75d18d8_0 lcms2 pkgs/main/osx-64::lcms2-2.11-h92f6f08_0 libcxx pkgs/main/osx-64::libcxx-10.0.0-1 libdb pkgs/main/osx-64::libdb-6.1.26-h0a44026_0 libedit pkgs/main/osx-64::libedit-3.1.20191231-h1de35cc_1 libffi pkgs/main/osx-64::libffi-3.3-hb1e8313_2 libgfortran pkgs/main/osx-64::libgfortran-3.0.1-h93005f0_2 libiconv pkgs/main/osx-64::libiconv-1.16-h1de35cc_0 libpng pkgs/main/osx-64::libpng-1.6.37-ha441bb4_0 libtiff pkgs/main/osx-64::libtiff-4.1.0-hcb84e12_0 libutf8proc pkgs/main/osx-64::libutf8proc-2.1.1-h1de35cc_0 lz4-c pkgs/main/osx-64::lz4-c-1.8.1.2-h1de35cc_0 matplotlib pkgs/main/osx-64::matplotlib-3.3.2-hecd8cb5_0 matplotlib-base pkgs/main/osx-64::matplotlib-base-3.3.2-py37h181983e_0 mkl pkgs/main/osx-64::mkl-2019.4-233 mkl-service pkgs/main/osx-64::mkl-service-2.3.0-py37h9ed2024_0 mkl_fft pkgs/main/osx-64::mkl_fft-1.2.0-py37hc64f4ea_0 mkl_random pkgs/main/osx-64::mkl_random-1.1.1-py37h959d312_0 ncurses pkgs/main/osx-64::ncurses-6.2-h0a44026_1 numpy pkgs/main/osx-64::numpy-1.18.5-py37h1da2735_0 numpy-base pkgs/main/osx-64::numpy-base-1.18.5-py37h3304bdc_0 olefile pkgs/main/osx-64::olefile-0.46-py37_0 openssl pkgs/main/osx-64::openssl-1.1.1i-h9ed2024_0 pillow pkgs/main/osx-64::pillow-8.1.0-py37h5270095_0 pip pkgs/main/osx-64::pip-20.3.3-py37hecd8cb5_0 pycosat pkgs/main/osx-64::pycosat-0.6.3-py37h9ed2024_0 pycparser pkgs/main/noarch::pycparser-2.20-py_2 pyopengl pkgs/main/osx-64::pyopengl-3.1.1a1-py37_0 pyopenssl pkgs/main/noarch::pyopenssl-20.0.1-pyhd3eb1b0_1 pyparsing pkgs/main/noarch::pyparsing-2.4.7-py_0 pysocks pkgs/main/osx-64::pysocks-1.7.1-py37hecd8cb5_0 python pkgs/main/osx-64::python-3.7.9-h26836e1_0 python-dateutil pkgs/main/noarch::python-dateutil-2.8.1-py_0 python.app pkgs/main/osx-64::python.app-2-py37_10 pytz pkgs/main/noarch::pytz-2020.5-pyhd3eb1b0_0 readline pkgs/main/osx-64::readline-8.0-h1de35cc_0 requests pkgs/main/noarch::requests-2.25.1-pyhd3eb1b0_0 ruamel_yaml pkgs/main/osx-64::ruamel_yaml-0.15.87-py37haf1e3a3_1 scipy pkgs/main/osx-64::scipy-1.5.2-py37h912ce22_0 serf pkgs/main/osx-64::serf-1.3.9-hae1257d_0 setuptools pkgs/main/osx-64::setuptools-51.0.0-py37hecd8cb5_2 six pkgs/main/osx-64::six-1.15.0-py37hecd8cb5_0 sqlite pkgs/main/osx-64::sqlite-3.33.0-hffcf06c_0 svn pkgs/main/osx-64::svn-1.10.2-h670755d_0 tk pkgs/main/osx-64::tk-8.6.10-hb0a8c7a_0 tornado pkgs/main/osx-64::tornado-6.1-py37h9ed2024_0 tqdm pkgs/main/noarch::tqdm-4.55.1-pyhd3eb1b0_0 urllib3 pkgs/main/noarch::urllib3-1.26.2-pyhd3eb1b0_0 wheel pkgs/main/noarch::wheel-0.36.2-pyhd3eb1b0_0 wxpython pkgs/main/osx-64::wxpython-4.0.4-py37hebc47a7_0 xz pkgs/main/osx-64::xz-5.2.5-h1de35cc_0 yaml pkgs/main/osx-64::yaml-0.2.5-haf1e3a3_0 zlib pkgs/main/osx-64::zlib-1.2.11-h1de35cc_3 zstd pkgs/main/osx-64::zstd-1.3.7-h5bba6e5_0 Preparing transaction: done Executing transaction: / done Finish up GSAS-II installation, version 4750 Reverted 'GSASII/bindist/fellipse.cpython-37m-darwin.so' Reverted 'GSASII/bindist/histogram2d.cpython-37m-darwin.so' Reverted 'GSASII/bindist/histosigma2d.cpython-37m-darwin.so' Reverted 'GSASII/bindist/libgcc_s.1.dylib' Reverted 'GSASII/bindist/libquadmath.0.dylib' Reverted 'GSASII/bindist/pack_f.cpython-37m-darwin.so' Reverted 'GSASII/bindist/polymask.cpython-37m-darwin.so' Reverted 'GSASII/bindist/pydiffax.cpython-37m-darwin.so' Reverted 'GSASII/bindist/pypowder.cpython-37m-darwin.so' Reverted 'GSASII/bindist/pyspg.cpython-37m-darwin.so' Reverted 'GSASII/bindist/pytexture.cpython-37m-darwin.so' Reverted 'GSASII/bindist/spotmask.cpython-37m-darwin.so' Reverted 'GSASII/bindist/unpack_cbf.cpython-37m-darwin.so' launching bootstrap process Running bootstrap from /Users/toby/g2full/GSASII at 2021-01-08 17:57:05.128726 Id: $Id: bootstrap.py 4748 2021-01-08 04:22:55Z toby $ Python: 3.7.9 numpy: 1.18.5 ********************************************************************** Preloading matplotlib to build fonts... Checking python packages... Checking for subversion... found svn image: /Users/toby/g2full/bin/svn Ready to bootstrap GSAS-II from repository https://subversion.xray.aps.anl.gov/pyGSAS/ to /Users/toby/g2full/GSASII Enter your proxy address [none needed]:
(continues after proxy info is entered)
*************************************************************************** Now preparing to install GSAS-II svn load command: /Users/toby/g2full/bin/svn co https://subversion.xray.aps.anl.gov/pyGSAS/trunk/ /Users/toby/g2full/GSASII --non-interactive --trust-server-cert subversion output: Checked out revision 4751. *************************************************************************** import of GSASIIpath completed Load binaries matching current python/numpy Running svn command: /Users/toby/g2full/bin/svn list https://subversion.xray.aps.anl.gov/pyGSAS//Binaries/ --non-interactive --trust-server-cert FYI: The current numpy version, 1.18.5, is newer than the newest dist version 1.18 Loading files to /Users/toby/g2full/GSASII/bindist/ from https://subversion.xray.aps.anl.gov/pyGSAS//Binaries/mac_64_p3.7_n1.18/ svn command: /Users/toby/g2full/bin/svn switch https://subversion.xray.aps.anl.gov/pyGSAS//Binaries/mac_64_p3.7_n1.18/ /Users/toby/g2full/GSASII/bindist/ --non-interactive --trust-server-cert --accept theirs-conflict --force -rHEAD --ignore-ancestry === Output from svn switch=========================================== At revision 4751. ====================================================================== Running bootstrap from /Users/toby/g2full/GSASII at 2021-01-08 18:18:35.147421 Id: $Id: bootstrap.py 4748 2021-01-08 04:22:55Z toby $ Python: 3.7.9 numpy: 1.18.5 ********************************************************************** Preloading matplotlib to build fonts... Checking python packages... Ready to bootstrap GSAS-II from repository https://subversion.xray.aps.anl.gov/pyGSAS/ to /Users/toby/g2full/GSASII import of GSASIIpath completed Successfully tested compiled routines Byte-compiling all .py files... done running /Users/toby/g2full/GSASII/makeMacApp.py /Users/toby/g2full/GSASII/GSAS-II.py Created GSAS-II app (/Users/toby/g2full/GSASII/GSAS-II.app). Viewing app in Finder so you can drag it to the dock if, you wish. GSAS-II installer, version 4750 completed *** Viewing GSAS-II app in Finder; you may wish to drag it to the dock.*** installation finished. toby@macos-11 ~ %
(Example when no network connection is present)
Enter your proxy address [none needed]: *************************************************************************** Now preparing to install GSAS-II svn load command: /Users/toby/g2full/bin/svn co https://subversion.xray.aps.anl.gov/pyGSAS/trunk/ /Users/toby/g2full/GSASII --non-interactive --trust-server-cert subversion output: subversion returned an error: None svn: E170013: Unable to connect to a repository at URL 'https://subversion.xray.aps.anl.gov/pyGSAS/trunk' svn: E670008: nodename nor servname provided, or not known Retrying after a cleanup... svn load command: /Users/toby/g2full/bin/svn co https://subversion.xray.aps.anl.gov/pyGSAS/trunk/ /Users/toby/g2full/GSASII --non-interactive --trust-server-cert subversion output: subversion returned an error: None svn: E170013: Unable to connect to a repository at URL 'https://subversion.xray.aps.anl.gov/pyGSAS/trunk' svn: E670008: nodename nor servname provided, or not known Retrying with a command for older svn version... /Users/toby/g2full/bin/svn co https://subversion.xray.aps.anl.gov/pyGSAS/trunk/ /Users/toby/g2full/GSASII subversion returned an error: svn: E170013: Unable to connect to a repository at URL 'https://subversion.xray.aps.anl.gov/pyGSAS/trunk' svn: E670008: nodename nor servname provided, or not known GSAS-II appears to be installed but failed to be updated. A likely reason is a network access problem. If your web browser works, but this update did not, the most common reason is you need to use a network proxy. Please check with a network administrator or use http://www.whatismyproxy.com/ If installing from the gsas2full dist and your computer is not connected to the internet, this error message can be ignored. Recreate error this using command: /Users/toby/g2full/bin/python /Users/toby/g2full/GSASII/bootstrap.py --noinstall BOOTSTRAP WARNING: subversion returned an error: svn: E170013: Unable to connect to a repository at URL 'https://subversion.xray.aps.anl.gov/pyGSAS/trunk' svn: E670008: nodename nor servname provided, or not known GSAS-II appears to be installed but failed to be updated. A likely reason is a network access problem. If your web browser works, but this update did not, the most common reason is you need to use a network proxy. Please check with a network administrator or use http://www.whatismyproxy.com/ If installing from the gsas2full dist and your computer is not connected to the internet, this error message can be ignored. Running bootstrap from /Users/toby/g2full/GSASII at 2021-01-08 19:13:59.213766 Id: $Id: bootstrap.py 4748 2021-01-08 04:22:55Z toby $ Python: 3.7.9 numpy: 1.18.5 ********************************************************************** Preloading matplotlib to build fonts... Checking python packages... Ready to bootstrap GSAS-II from repository https://subversion.xray.aps.anl.gov/pyGSAS/ to /Users/toby/g2full/GSASII import of GSASIIpath completed Successfully tested compiled routines Byte-compiling all .py files... done running /Users/toby/g2full/GSASII/makeMacApp.py /Users/toby/g2full/GSASII/GSAS-II.py Created GSAS-II app (/Users/toby/g2full/GSASII/GSAS-II.app). Viewing app in Finder so you can drag it to the dock if, you wish. GSAS-II installer, version 4750 completed *** Viewing GSAS-II app in Finder; you may wish to drag it to the dock.*** installation finished. toby@macos-11 ~ %
Attachments (24)
- 2.jpg (28.9 KB) - added by toby 8 years ago.
- 3.jpg (39.6 KB) - added by toby 8 years ago.
- 9.jpg (77.2 KB) - added by toby 8 years ago.
- 10.jpg (87.7 KB) - added by toby 8 years ago.
- 11.jpg (87.3 KB) - added by toby 8 years ago.
- 13.jpg (128.7 KB) - added by toby 8 years ago.
- 14.jpg (73.8 KB) - added by toby 8 years ago.
- 12.jpg (222.1 KB) - added by toby 8 years ago.
- 1.jpg (182.0 KB) - added by toby 8 years ago.
-
4.jpg
(72.0 KB) -
added by toby 4 years ago.
start of "license" information
-
5.jpg
(71.6 KB) -
added by toby 4 years ago.
End of "license" information
-
6.jpg
(51.4 KB) -
added by toby 4 years ago.
enter install location
-
7.jpg
(52.3 KB) -
added by toby 4 years ago.
after successful install
-
8.jpg
(53.0 KB) -
added by toby 4 years ago.
after successful install completed
-
0.png
(39.2 KB) -
added by toby 4 years ago.
screen image with file download & start of self-installer
-
err.png
(55.7 KB) -
added by toby 4 years ago.
proxy or no internet error
-
permissons.png
(20.4 KB) -
added by toby 4 years ago.
permissions message
-
n0.png
(43.5 KB) -
added by toby 3 years ago.
initial command
-
n1.png
(58.6 KB) -
added by toby 3 years ago.
supply proxy info
-
n2.png
(49.5 KB) -
added by toby 3 years ago.
permission to launch ScriptEditor?
-
n3.png
(58.9 KB) -
added by toby 3 years ago.
final bootstrap display
-
n-app-edit.png
(28.1 KB) -
added by toby 3 years ago.
message when the application permissions are not set
-
np1.png
(36.5 KB) -
added by toby 3 years ago.
11.0 permissions - Finder
-
np2.png
(37.4 KB) -
added by toby 3 years ago.
11.0 permissions - Terminal
Download all attachments as: .zip