1. Installing slitlessutils
1.1. Preparing your Local Environment
We recommend using Anaconda to manage your slitlessutils environment.
You may want to consider installing slitlessutils in a new virtual or
conda environment to avoid version conflicts with other packages you may
have installed.
Start by creating an empty conda environment:
conda create --name slitlessutils-env "python>=3.12"
conda activate slitlessutils-env
You may also need to manually install precompiled llvmlite binaries before installing
slitlessutils to avoid an error when building numba (used by slitlessutils to
improve performance) during the installation. This can be done by running conda install --channel=conda-forge llvmlite
in your conda environment before installing slitessutils.
1.2. Installing slitlessutils
There are several ways to install slitlessutils:
Install from PyPI: to install the latest stable version:
pip install slitlessutils
Install from GitHub: to install the latest development version:
pip install git+https://github.com/spacetelescope/slitlessutils.git
Clone from GitHub: the development version can also be cloned directly from GitHub:
git clone https://github.com/spacetelescope/slitlessutils.git cd slitlessutils pip install .
This approach is only somewhat more difficult than installing from PyPI, but is easier to make local modifications and submit pull requests.