The easiest way to install SpecOneD is via pip:
pip install speconed
In some cases the pytables (pip install tables) package cannot find the hdf5 installation. This happens specifically on some python versions run on the new Mac M1 (arm64) chips. In this case, you need to follow the following steps:
pip install cython brew install hdf5 brew install c-blosc export HDF5_DIR=/opt/homebrew/opt/hdf5 export BLOSC_DIR=/opt/homebrew/opt/c-blosc
After these steps, you can continue to install SpecOneD via pip.
This document describes how to install Sculptor and its dependencies. For now the project has not been published on PyPi, yet. Therefore, the first step is to clone the Sculptor repository from github.
To do this simply clone the repository to your folder of choice.
git clone https://github.com/jtschindler/sculptor.git
In the speconed github repository you will find a 'requirements.txt', which allows you to install the necessary requirements using pip from the main sculptor directory:
pip install -r requirements.txt
Navigate to the main folder of sculptor. It should contain the setup.py file as well as requirements.txt, conda_requirements.yml, and environment.yml.
The sculptor github repository provides an environment.yml file. It automatically creates the sculptor-env environment installing all necessary dependencies with the following command:
conda env create --file environment.yml
With all requirements fulfilled, install Sculptor via
pip install -e .