tosca-parser command not found

In this troubleshooting guide we learn how to fix tosca-parser command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

tosca-parser: command not found

or when using sudo you get the following error message

sudo: tosca-parser: command not found

Solutions to tosca-parser: command not found

How To Fix tosca-parser: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu tosca-parser is provided by python3-tosca-parser package.

python3-tosca-parser is:

The TOSCA Parser is an OpenStack project. It is developed to parse TOSCA Simple Profile in YAML. It reads the TOSCA templates and creates an in-memory graph of TOSCA nodes and their relationship.

TOSCA stands for: Topology and Orchestration Specification for Cloud Application.

This package contains the Python 3.x module.

To fix this problem, we can install more using the command below.

sudo apt-get -y install python3-tosca-parser

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install python3-tosca-parser.

sudo apt -y install python3-tosca-parser

Or if you have aptitude installed you can use the following command.

sudo aptitude install python3-tosca-parser

Summary

In this tutorial we learn how to fix tosca-parser command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.