Changes between Version 16 and Version 17 of InstallMacHardWay


Ignore:
Timestamp:
May 23, 2014 3:53:20 PM (8 years ago)
Author:
toby
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • InstallMacHardWay

    v16 v17  
    2525We use the [http://www.enthought.com/products/epd.php Enthought Python Distribution] (EPD) package for our code development (Argonne has a site license) and have done just a bit of testing with the newer product, Enthought Canopy. The free versions of these packages will run GSAS-II, with addition of one small package that is self-installed (see below). While OS X does come with installed versions of Python, they are pretty old and do not contain all the packages GSAS-II needs, so adding the missing packages is probably not a good idea. Use of the Fink or !DarwinPorts versions of Python is also not the best choice -- the GUI and graphics will be shown in X-windows rather than in Mac style. Note that at this time, Python 2.7 is recommended and probably required for GSAS-II. GSAS-II does not yet support Python 3.0+.
    2626
    27  * The freely distributed [http://www.enthought.com/products/epd_free.php Enthought Canopy Express Python package] provides everything one needs to run GSAS-II, except the interface needed for OpenGL graphics ([http://pypi.python.org/pypi/PyOpenGL PyOpenGL]) which is distributed with GSAS-II; GSAS-II will attempt to install this package for you when first started. The paid subscription versions of Canopy do contain this package and also work fine. To get Canopy Express, use the "Get Canopy Express" button on http://www.enthought.com/products/epd_free.php (or use [https://s3.amazonaws.com/storage.enthought.com/installers/epd_free-7.3-2-macosx-i386.dmg the older EPDfree 32-bit Mac installer] from web page https://www.enthought.com/repo/free/). This is a ~72Mb .dmg file that requires admin privs to install. Installation from the .dmg is easy: click on the file to open it (that might happen automatically when you download it). In that new volume, you will see the EPD_free.mpkg installer. Click on that to start the installation process. It works best to run this from the account where you will run GSAS-II and supply the name of the admin account and its password when requested, as this will cause your login shell setup file to be updated so that directory {{{/Library/Frameworks/Python.framework/Versions/Current/bin}}} is in your path. (This is done by adding lines like this to file ~/.profile:
     27 * The freely distributed [http://www.enthought.com/products/epd_free.php Enthought Canopy Express Python package] and its precursor, [https://s3.amazonaws.com/storage.enthought.com/installers/epd_free-7.3-2-macosx-i386.dmg the older EPDfree 32-bit Mac installer], provides everything one needs to run GSAS-II, except the interface needed for OpenGL graphics ([http://pypi.python.org/pypi/PyOpenGL PyOpenGL]) which is distributed with GSAS-II; GSAS-II will attempt to install this package for you when first started. The paid subscription versions of Canopy/EPD do contain this package and also work fine.
     28
     29 To get Canopy Express, use the "Get Canopy Express" button on http://www.enthought.com/downloads. See  [InstallNotesMavericks these notes for installation details.]
     30
     31 For EPD free use [https://s3.amazonaws.com/storage.enthought.com/installers/epd_free-7.3-2-macosx-i386.dmg the older EPDfree 32-bit Mac installer] from web page https://www.enthought.com/repo/free/.  Installation of EPD free from the .dmg is easy: click on the file to open it (that might happen automatically when you download it). In that new volume, you will see the EPD_free.mpkg installer. Click on that to start the installation process. It works best to run this from the account where you will run GSAS-II and supply the name of the admin account and its password when requested, as this will cause your login shell setup file to be updated so that directory {{{/Library/Frameworks/Python.framework/Versions/Current/bin}}} is in your path. (This is done by adding lines like this to file ~/.profile:
    2832{{{
    2933# Setting PATH for EPD-7.2-2
     
    3135export PATH
    3236}}}
     37
     38 Note on OS X 10.9 (and perhaps with prior versions), when first starting GSAS-II under EPD free, one will get a warning "to open fc-list, you need to install X11..." you can ignore that warning and press Cancel. (This warning occurred twice for me.) It then seems to go away.
    3339
    3440 * [http://www.activestate.com/activepython ActiveState ActivePython] is a possible alternative to EPD. This is also commercial licensed software, where there is a free version with no support. We have not tried this yet. If it works for you, please let us know.