Installation Guide

pydicom-seg is written for Python 3.5 upwards and does not support older versions.

Install from PyPI

pip install pydicom-seg

Install from Github

pydicom-seg uses Poetry as build and dependency management system. Please follow the installation instructions on their documentation website.

First, clone the source code repository somewhere on your filesystem. Make sure to also clone git submodules, since this package relies on some files from the dcmqi project for compatibility reasons.

git clone \
    --recurse-submodules \
    https://github.com/razorx89/pydicom-seg.git
cd pydicom-seg

Warning

If you do not clone submodules, then the build process will still succeed. However, the built package won’t contain the required files.

Building and installing the package can be accomplished by:

poetry build
pip install dist/pydicom_seg-0.x.x-py3-none-any.whl