Installing

Supported platforms

  • Linux

  • Windows

  • MacOS

The package may also work on other platforms depending on whether or not those platforms are supported by DearEIS’ dependencies.

Requirements

These Python packages (and their dependencies) are installed automatically when DearEIS is installed using pip.

The following Python packages can be installed as optional dependencies for additional functionality:

  • DRT calculations using the TR-RBF method (at least one of the following is required):

Note

Windows and MacOS users who wish to install CVXPY must follow the steps described in the CVXPY documentation!

Installing

Make sure that Python and pip are installed first (see previous section for supported Python versions). For example, open a terminal and run the command:

pip --version

Note

If you only intend to use DearEIS via the GUI or are familiar with virtual environments, then you should consider using pipx instead of pip to install DearEIS. Pipx will install DearEIS inside of a virtual environment, which can help with preventing potential version conflicts that may arise if DearEIS requires an older or a newer version of a dependency than another package. Pipx also manages these virtual environments and makes it easy to run applications/packages.

If there are no errors, then run the following command to install pyimpspec and its dependencies:

pip install deareis

DearEIS should now be available as a command in the terminal and possibly also some application launchers.

If you wish to install the optional dependencies, then they must be specified explicitly when installing DearEIS:

pip install deareis[cvxpy]

Newer versions of DearEIS can be installed at a later date by adding the --upgrade option to the command:

pip install --upgrade deareis

Running the GUI program

You should now be able to run DearEIS via, e.g., a terminal or the Windows start menu by typing in the command deareis. There is also a deareis-debug command that can be used for troubleshooting purposes and prints a lot of potentially useful information to a terminal window. DearEIS can also be launched as a Python module:

python -m deareis

Using the API

The deareis package should now be accessible in Python:

>>> import deareis