dijitso command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
dijitso: command not found
or when using sudo you get the following error message
sudo: dijitso: command not found
Solutions to dijitso: command not found
How To Fix dijitso: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu dijitso is provided by python3-dijitso package.
python3-dijitso is:
Dijitso was written to improve a core component of the FEniCS framework, namely the just in time compilation of C++ code that is generated from Python modules, but is only called from within a C++ library, and thus do not need wrapping in a nice Python interface.
The main approach of dijitso is to use ctypes to import the dynamic shared library directly with no attempt at wrapping it in a Python interface.
As long as the compiled code can provide a simple factory function to a class implementing a predefined C++ interface, there is no limit to the complexity of that interface as long as it is only called from C++ code, If you want a Python interface to your generated code, dijitso is probably not the answer.
Although dijitso serves a very specific role within the FEniCS project, it does not depend on other FEniCS components.
The parallel support depends on the mpi4py interface, although mpi4py is not actually imported within the dijitso module so it would be possible to mock the communicator object with a similar interface.
This package installs the library for Python 3.
To fix this problem, we can install more using the command below.
sudo apt-get -y install python3-dijitso
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install python3-dijitso.
sudo apt -y install python3-dijitso
Or if you have aptitude installed you can use the following command.
sudo aptitude install python3-dijitso
Summary
In this tutorial we learn how to fix dijitso command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.