The Deepomatic Command-Line Interface requires Python 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:
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
.
# Install python 3.6.8 if it's not already on your systempyenv install 3.6.8# Generate a pipenv environment with the installed python versionpipenv --python 3.6# Install the stable deepomatic-cli release...pipenv install deepomatic-cli# ... or the latest releasepipenv install git+https://github.com/deepomatic/deepocli#egg=deepomatic-cli# Verify the install with pipenvpipenv run deepo -h# Spawn a pre-configured shell and verify the installpipenv shelldeepo -h
# Install the stable deepomatic-cli release...pip install deepomatic-cli# ... or the latest releasepip install git+https://github.com/deepomatic/deepocli#egg=deepomatic-cli# Verify the installdeepo -h
If you want to upgrade your package, simply reinstall with pip
or pipenv
:
# Upgrade DeepoCLI with pipenv to latest versionpipenv update deepomatic-cli# Upgrade DeepoCLI with pip to latest versionpip install --upgrade deepomatic-cli# Check the current versiondeepo -v