wiki:InstallConda

Version 2 (modified by toby, 3 years ago) (diff)

--

Installing GSAS-II via conda (Anaconda Python)

Python enthusiasts are likely quite familiar with the Anaconda package manager. GSAS-II can be installed using the following command conda command after installing anaconda or miniconda. Note that Python 2.7 or 3.6+ can be used, but not all platforms/combinations have been tested. Use This command to install GSAS-II:

conda install gsas2pkg -c briantoby 

if you did not put anaconda/miniconda in your path, you will need to first use activate:

mac/linux:

source <condapath>/bin/activate

windows:

<condapath>\Scripts\activate
  • 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).
  • On Windows a desktop shortcut is created.
  • On Linux (at present) the command-line is needed to start GSAS-II:
    <condapath>/bin/python <condapath>/GSASII/GSASII.py
    

This is a new installation option (as of June 2018) and feedback on problems or suggestions on how to make this better integrated with anaconda are solicited.