How to Install Assign_GUP¶
The basic installation procedure:
- install Python 2.7
- install Assign_GUP
Background¶
This program requires Python 2.7 (not ready for Python 3 yet) and several additional packages. Most of the package dependencies are met by using a Python distribution (provides Python, the basic package suite, and other popular packages).
The major package requirements are:
- PyQt4 : provides the graphical user interface widgets
- lxml : XML support
- pyRestTable : presents information in a sensible table format
Python¶
It is suggested to use the Anaconda Python 2.7 distribution [1] as it contains most of the packages used by this program.
- use a web browser and visit: https://www.continuum.io/downloads
- select the distribution for your operating system
- make sure to follow links for Python 2.7
- download the installer file
- follow the instructions to install on your computer
[1] | Anaconda Python 2.7: https://www.continuum.io |
Assign_GUP¶
Install this program from the Python Package Index (PyPI) using the pip command:
pip install pyRestTable
pip install --no-deps Assign_GUP
The --no-deps
option tells pip not to download and attempt
to build newer versions of other required packages such as lxml.
It may be necessary to install the lxml package if your distribution does not already have it installed. You can view all the installed packages using this command:
pip list
The list may have dozens or more items. To install lxml:
pip install lxml
Updating Assign_GUP¶
To update to a newer version of Assign_GUP, use this command:
pip install -U --no-deps Assign_GUP
The -U
option tells pip to search for and install the
latest package update.
Alternative Installation steps¶
It is possible to install Assign_GUP using steps common to Python developers, such as:
pip install https://github.com/prjemian/assign_gup
or:
git clone install https://github.com/prjemian/assign_gup.git
cd assign_gup
python ./setup.py install
These are not recommended for regular use.