Changes between Initial Version and Version 1 of InstallConda


Ignore:
Timestamp:
Jun 14, 2018 2:38:07 PM (4 years ago)
Author:
toby
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • InstallConda

    v1 v1  
     1= Installing GSAS-II via conda (Anaconda Python) =
     2
     3Python enthusiasts are likely quite familiar with the [https://www.anaconda.com/what-is-anaconda/ Anaconda package manager]. GSAS-II can be installed using the following command 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. Use This command to install GSAS-II: 
     4
     5   
     6{{{
     7conda install gsas2pkg -c briantoby
     8}}}
     9 
     10if you did not put anaconda/miniconda in your path, you will need to first use.
     11
     12mac/linux:
     13{{{
     14source <condapath>/bin/activate
     15}}}
     16
     17windows:
     18{{{
     19<condapath>\Scripts\activate
     20}}}
     21
     22On 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
     24On Windows a desktop shortcut is created.
     25
     26On Linux (at present) the command-line is needed to start GSAS-II:
     27{{{
     28<condapath>/bin/python <condapath>/GSASII/GSASII.py
     29}}}
     30
     31This 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.