This section explains how to install TeraPy on your computer.
Contents
To run TeraPy, you need to install the following software:
For file output, it is highly recommended (yet optional) to have h5py installed.
Some modules may have other dependencies.
File format filters need:
Some post-processing filters also need:
And some device drivers need:
If the packages marked as optional aren’t available, the modules that need them won’t work and won’t appear in the interface. This won’t compromise other modules and functions though.
This is the easiest (competing with pip though), and therefore preferred, solution. Open a command line and type
easy_install terapy
This should fetch the latest version of TeraPy from the Python package index and install it in the right place.
Under Windows (without Cygwin), easy_install is located in <python_folder>\Scripts\easy_install.exe, where <python_folder> is something like C:\Python2.7. Check where Python is installed on your system.
If this worked, you may proceed to the Configuration section. Otherwise, try the alternatives below or see the Troubleshooting section.
An alternative to easy_install is pip. You can find it here. Once it is installed, open a command line and type
pip install terapy
For Windows, an easy to use version can be found here.
If this worked, you may proceed to the Configuration section. Otherwise, try the alternatives below or see the Troubleshooting section.
Download the latest version of TeraPy from the Python package index using this link. Packages for Windows are provided in 32-bit and 64-bit versions.
Download the latest version of TeraPy from the Python package index using this link. Unpack the archive, open a command line and run
python setup.py install
On some systems, you may need administrator rights to do that, in which case you may try
python setup.py build
sudo python setup.py install
If this worked, you may proceed to the Configuration section. Otherwise, see the Troubleshooting section.