python3-qr command not found

In this troubleshooting guide we learn how to fix python3-qr command not found error message

Introduction

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

python3-qr: command not found

or when using sudo you get the following error message

sudo: python3-qr: command not found

Solutions to python3-qr: command not found

How To Fix python3-qr: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu python3-qr is provided by python3-qrcode package.

python3-qrcode is:

This package provides a pure Python QR Code generator module. It uses the Python Imaging Library (PIL) to allow for the generation of QR Codes. In contrast to the python-qrencode module this module does not need an additional C library.

In addition this package provides a command line tool to generate QR codes and either write these QR codes to a file or do the output as ascii art at the console.

This package provides the Python 3.x module.

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

sudo apt-get -y install python3-qrcode

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

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

sudo apt -y install python3-qrcode

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

sudo aptitude install python3-qrcode

Summary

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