Installation¶
Using pip (recommended)¶
To install the package with pip, run the following command:
pip install py3dic
This should install all package dependencies automatically.
Alternatively if you want to upgrade an existing installation:
pip install --upgrade py3dic
Verify installation¶
To check if the installation is ok use
import py3dic as mlt
mlt.__version__
Creating a new environment (recommended)¶
This is the recommended method:
Note
Alternatively if you are running low on space on an SSD drive you can use the prefix option (IMPORTANT: read through the following StackOverflow Question: how to specify new environment location for conda create)
Install dependencies¶
If the pip method is used the dependencies should be installed automatically.
Activate the new conda environment and install the following:
seperately install opencv-python with pip. This is crucial because the conda version of opencv-python is not compatible with the current version of py3dic.
From source¶
Since version 0.4.1 the py3dic uses a pyproject.toml file for compliance with PEP 517 and PEP 518.
To install the package from source, clone the repository and run the following command:
pip install .