Skip to content

Installation

To get started with the project, follow these steps:

  • Install the package:

    python -m pip install speckcn2
    

  • Or: Clone the repository:

    git clone https://github.com/MALES-project/SpeckleCn2Profiler.git
    cd SpeckleCn2Profiler
    git submodule init
    git submodule update
    

MacOS M1 arm64

Some dependencies (e.g. scikit) do not support the latest python version (3.12). Also py3nj, a dependency of escnn, requires openmp. We've installed this via homebrew and thus explicitly specifying the C compiler (gnu) prior to installation of this package does the trick.

conda create -n speckcn2 python=3.10
conda activate speckcn2
CC=gcc-13 pip3 install py3nj # install py3nj before with gcc instead of clang
pip install -e .