Installation

Requirements

Note

The visualization of phonon mode works with ASE. If you want this function, append ‘ase’ to install_requires in setup.py:

install_requires.append('ase')

Installation using pip

Install stable version of InterPhon via pip, which gets the code stored in PyPI:

$ pip install interphon

Installation from source code

Alternatively, install the latest version in development from InterPhon GitHub by git clone and setup:

$ git clone https://github.com/inwonyeu/interphon.git
$ cd interphon/
$ python setup.py install

Installation test

Once the InterPhon package is successfully installed, you can import InterPhon within Python interpreter:

>>> import InterPhon

Or the following command can be executed (with an error in the unprepared state):

$ interphon