3 | | Python enthusiasts are likely quite familiar with the [https://www.anaconda.com/what-is-anaconda/ Anaconda package manager]. GSAS-II can be installed using a simple conda command, after installing [https://www.anaconda.com/download anaconda] or [https://conda.io/miniconda.html miniconda]. Note that Python 2.7 or 3.6+ can be used, but not all platforms/combinations have been tested. We recommend Python 3.7 at present. When this conda package is used, it ensures that the [https://gsas-ii.readthedocs.io/en/latest/packages.html packages required by GSAS-II] are installed, including subversion, and then subversion is used to download the latest version of GSAS-II from the APS server. This download will fail if your computer network |
| 3 | Python enthusiasts are likely quite familiar with the [https://www.anaconda.com/what-is-anaconda/ Anaconda package manager]. GSAS-II can be installed using a simple conda command, after installing [https://www.anaconda.com/download anaconda] or [https://conda.io/miniconda.html miniconda]. We are recommending Python 3.7. With Python 3.8 or later, you will likely need to compile binaries. When this conda package is used, it ensures that the [https://gsas-ii.readthedocs.io/en/latest/packages.html packages required by GSAS-II] are installed, including subversion, and then subversion is used to download the latest version of GSAS-II from the APS server. This download will fail if your computer network |
| 11 | To use a separate conda environment for GSAS-II, use these commands to install GSAS-II: |
| 12 | |
| 13 | {{{ |
| 14 | conda create -n GSASII |
| 15 | conda install gsas2pkg=1.1 -c briantoby -n GSASII |
| 16 | }}} |
| 17 | Note that you may need to activate the environment manually before starting GSAS-II. |
| 18 | |
| 19 | |
| 20 | After the conda install completes, one of the following occurs: |
| 21 | |
| 22 | * On the Mac, an app is created that can be dragged to the doc (or create a shortcut to GSAS-II.app and drag that anywhere). |
| 23 | |
| 24 | * On Windows a desktop shortcut is created. |
| 25 | |
| 26 | * On Linux (at present) the command-line is needed to start GSAS-II: |
| 27 | {{{ |
| 28 | <condapath>/bin/python <condapath>/GSASII/GSASII.py |
| 29 | }}} |
| 30 | |
| 31 | **Activating**: |