Changes between Version 6 and Version 7 of PythonPackages

Dec 8, 2015 5:47:03 PM (7 years ago)



  • PythonPackages

    v6 v7  
    11= Python Packages Required in GSAS-II =
    3 At present, GSAS-II is being developed with Python version 2 (2.7.2 as I write this). This is because some of the packages
    4 that GSAS-II requires are not yet supported or are not yet well tested in Python 3. Note that the following packages that are not distributed as a part of Python are required in GSAS-II:
     3GSAS-II requires that you install Python 2.7.x on your computer as well as a number of
     4[ required Python packages].
    6  * [ WxPython]
    7       note that on linux, wx python requires a backend, usually GTk
    8  * [ matplotlib]
    9       note that matplotlib requires a backend for display, which should be wx here
    10  * [ NumPy]
    11  * [ SciPy]
    12  * [ Python Imaging Library] (PIL) or [ Pillow], the "friendly" PIL fork
     6There 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. 
    16 In addition, the Python package for OpenGL is required:
    18  * [ PyOpenGL]
    20 but if needed this package will be installed by GSAS-II, but to do this the [ setuptools package] is needed.
     8At 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.