Installation#
We recommend creating a clean Conda environment to ensure dependencies don’t conflict with your existing Python installations. You will need to have installed or already have mini-conda and git on your system.
Step 1: Install Mini-conda#
Download and install Conda for your operating system, following the instructions. We recommend the Conda distribution mini-condaIf prompted, add Conda to the PATH variable during installation.
Step 2: Download and Install u-Unwrap3D repository#
Clone the u-Unwrap3D repository onto your system
git clone https://github.com/DanuserLab/u-unwrap3D.git
Step 3: Create Conda environment for u-Unwrap3D#
Open a terminal or command prompt in the root folder of the u-Unwrap3D repository. Create and activate a new conda environment with Python=3.9. Later versions should also work.
conda create -n u_Unwrap3D_env python=3.9
conda activate u_Unwrap3D_env
Step 4: Install u-Unwrap3D from cloned repository#
Perform pip install
in the root folder of the u-Unwrap3D repository
pip install .
alternatively, if you don’t want to clone you can use pip
to also install the package directly without cloning from the github repository.
pip install u-unwrap3D@git+https://github.com/DanuserLab/u-unwrap3D.git
Known Installation Issues#
scikit-fmm
compilation error Thescikit-fmm
dependency does not have pre-compiled wheels available inpip
. This can create an error for operating systems without the necessary compilation tools installed. It is a minor dependency, therefore either remove this from the filerequirements.txt
, if you have cloned the repository or installscikit-fmm
first usingconda
using theconda-forge
channel:
conda install -c conda-forge scikit-fmm