pyro4-nsc command not found

In this troubleshooting guide we learn how to fix pyro4-nsc command not found error message

Introduction

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

pyro4-nsc: command not found

or when using sudo you get the following error message

sudo: pyro4-nsc: command not found

Solutions to pyro4-nsc: command not found

How To Fix pyro4-nsc: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu pyro4-nsc is provided by python3-pyro4 package.

python3-pyro4 is:

Pyro (PYthon Remote Object) is an easy to use and powerful distributed object system for Python. In a distributed object system, clients send requests to distant servers, which owns the remote objects. Pyro simplifies a lot the creation of clients and servers, and has among its features:

  • dynamic and static proxies for all remote method invocations,
  • a naming service which keeps record of the location of objects,
  • mobile objects support: clients and servers can pass objects around,
  • exceptions that occur in the remote object is raised on the client too,
  • multithreaded server support to handle multiple requests simultaneously.

This package contains the core Pyro4 module for Python 3.x .

The documentation is available in the pyro4-doc package. A lot of examples are available in the pyro4-examples package.

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

sudo apt-get -y install python3-pyro4

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

You can also use apt command to install python3-pyro4.

sudo apt -y install python3-pyro4

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

sudo aptitude install python3-pyro4

Summary

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