circuits.web3 command not found

In this troubleshooting guide we learn how to fix circuits.web3 command not found error message

Introduction

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

circuits.web3: command not found

or when using sudo you get the following error message

sudo: circuits.web3: command not found

Solutions to circuits.web3: command not found

How To Fix circuits.web3: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu circuits.web3 is provided by python3-circuits package.

python3-circuits is:

circuits is an event-driven framework with a focus on Component Software Architectures where System Functionality is defined in Components. Components communicate with one another by propagating events throughout the system. Each Component can react to events and expose events to other parts of the system Components are able to manage their own events and can also be linked to other Components.

Circuits has a clean architecture and has no external dependencies on any other library. It’s simplistic design is unmatchable but yet delivers a powerful framework for building large, scalable, maintainable applications and systems. Circuits was a core integral part of the pymills library developed in 2006 and was partly inspired by the Trac architecture.

This package contains the Python 3 version of the library.

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

sudo apt-get -y install python3-circuits

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

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

sudo apt -y install python3-circuits

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

sudo aptitude install python3-circuits

Summary

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