Installation#

Released versions of spec2nexus are available on PyPI and conda-forge.

If you have pip installed, then you can install:

$ pip install spec2nexus

If you are using Anaconda Python and have conda installed, use this install command:

$ conda install -c conda-forge spec2nexus

The latest development versions of spec2nexus can be downloaded from the GitHub repository listed above:

$ git clone https://github.com/prjemian/spec2nexus.git

To install in the standard Python location:

$ cd spec2nexus
$ python setup.py install

To install in user’s home directory:

$ python setup.py install --user

To install in an alternate location:

$ python setup.py install --prefix=/path/to/installation/dir