Installation

Python setup

The Deepomatic Command-Line Interface requires Python 2.7+ or 3.4+. We strongly recommend using a Python version management system.

If you don't have any, you might want to look into Pyenv and Pipenv. You will find a detailed tutorial to get started in:

DeepoCLI module

Once you have set up your Python version management system, all you have to do is specify the corresponding version and install the packages. Below you will find two ways to do it using pip or pipenv and pyenv.

Installing with pipenv and pyenv (recommended)
Installing directly with pip
Installing with pipenv and pyenv (recommended)
# Install python 2.7.15 if it's not already on your system
pyenv install 3.6.8
# Generate a pipenv environment with the installed python version
pipenv --python 3.6
# Install the stable deepomatic-cli release...
pipenv install deepomatic-cli
# ... or the latest release
pipenv install git+https://github.com/deepomatic/deepocli#egg=deepomatic-cli
# Verify the install with pipenv
pipenv run deepo -h
# Spawn a pre-configured shell and verify the install
pipenv shell
deepo -h
Installing directly with pip
# Install the stable deepomatic-cli release...
pip install deepomatic-cli
# ... or the latest release
pip install git+https://github.com/deepomatic/deepocli#egg=deepomatic-cli
# Verify the install
deepo -h

Upgrading

If you want to upgrade your package, simply reinstall with pip or pipenv:

Stable release
Stable release
# Upgrade DeepoCLI with pipenv to latest version
pipenv update deepomatic-cli
# Upgrade DeepoCLI with pip to latest version
pip install --upgrade deepomatic-cli