6 | | * [http://www.wxpython.org/ WxPython] |
7 | | note that on linux, wx python requires a backend, usually GTk |
8 | | * [http://matplotlib.sourceforge.net/ matplotlib] |
9 | | note that matplotlib requires a backend for display, which should be wx here |
10 | | * [http://numpy.scipy.org/ NumPy] |
11 | | * [http://www.scipy.org/ SciPy] |
12 | | * [http://www.pythonware.com/products/pil/ Python Imaging Library] (PIL) or [https://python-pillow.github.io/ Pillow], the "friendly" PIL fork |
| 6 | There are many distributions of Python available, but for Windows and Mac users, the easiest way to obtain Python with the packages we require is to install the Canopy or Anaconda distributions, as described in the platform-specific installation instructions ([InstallWindows Windows], [InstallMac Mac OS X] or [InstallLinux Linux]). Linux users have the additional option of using pre-built Python dists from Redhat, Ubuntu, etc. |
14 | | These packages must be installed after Python is installed, or preferably you can install a Python distribution that includes all of these packages [See platform-specific installation instructions: [InstallWindows Windows], [InstallMac Mac OS X] or [InstallLinux Linux]). At present, if any of these packages are not present in the version of Python used to start GSAS-II, the program will not start, with the exception of PIL which is only needed for reading some types of images. |
15 | | |
16 | | In addition, the Python package for OpenGL is required: |
17 | | |
18 | | * [http://pyopengl.sourceforge.net/ PyOpenGL] |
19 | | |
20 | | but if needed this package will be installed by GSAS-II, but to do this the [https://pythonhosted.org/setuptools/ setuptools package] is needed. |
| 8 | At present, GSAS-II is being developed with Python version 2.7 (2.7.3 - 2.7.10 as this is written). GSAS-II requires the !WxPython which is not yet being included in bundled Python distributions for Python 3.x, so we have not started Python 3 testing. We hope this changes soon. |