can_player command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
can_player: command not found
or when using sudo you get the following error message
sudo: can_player: command not found
Solutions to can_player: command not found
How To Fix can_player: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu can_player is provided by python3-can package.
python3-can is:
The Controller Area Network (CAN, aka “CAN bus”) is a bus standard designed to allow microcontrollers and devices to communicate with each other. It has priority based bus arbitration, reliable deterministic communication. It is used in cars, trucks, boats, wheelchairs and more.
The ‘can’ package provides controller area network support for Python developers; providing “common abstractions to different hardware devices”, and a suite of utilities for sending and receiving messages on a can bus.
This package provides the bindings for Python 3.x (and some logging utilities)
To fix this problem, we can install more using the command below.
sudo apt-get -y install python3-can
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install python3-can.
sudo apt -y install python3-can
Or if you have aptitude installed you can use the following command.
sudo aptitude install python3-can
Summary
In this tutorial we learn how to fix can_player command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.