qtsass command not found

In this troubleshooting guide we learn how to fix qtsass command not found error message

Introduction

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

qtsass: command not found

or when using sudo you get the following error message

sudo: qtsass: command not found

Solutions to qtsass: command not found

How To Fix qtsass: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu qtsass is provided by python3-qtsass package.

python3-qtsass is:

SASS brings countless amazing features to CSS. Besides being used in web development, CSS is also the way to stylize Qt-based desktop applications. However, Qt’s CSS has a few variations that prevent the direct use of SASS compiler.

The purpose of this tool is to fill the gap between SASS and Qt-CSS by handling those variations. The goal of QtSASS is to be able to generate a Qt-CSS stylesheet based on a 100% valid SASS file.

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

sudo apt-get -y install python3-qtsass

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

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

sudo apt -y install python3-qtsass

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

sudo aptitude install python3-qtsass

Summary

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