less2scss command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
less2scss: command not found
or when using sudo you get the following error message
sudo: less2scss: command not found
Solutions to less2scss: command not found
How To Fix less2scss: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu less2scss is provided by python3-pyscss package.
python3-pyscss is:
pyScss compiles Scss (Sass), a superset of CSS that is more powerful, elegant and easier to maintain than plain-vanilla CSS. The library acts as a CSS source code preprocesor which allows you to use variables, nested rules, mixins, and have inheritance of rules, all with a CSS-compatible syntax which the preprocessor then compiles to standard CSS.
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-pyscss
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install python3-pyscss.
sudo apt -y install python3-pyscss
Or if you have aptitude installed you can use the following command.
sudo aptitude install python3-pyscss
Summary
In this tutorial we learn how to fix less2scss command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.