cssparse_py3 command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
cssparse_py3: command not found
or when using sudo you get the following error message
sudo: cssparse_py3: command not found
Solutions to cssparse_py3: command not found
How To Fix cssparse_py3: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu cssparse_py3 is provided by python3-cssutils package.
python3-cssutils is:
Python3 package to parse and build CSS Cascading Style Sheets. DOM only, not any rendering facilities! Base upon and partly implements the following specifications:
- CSS 2.1 and CSS 2.1 Errata
- CSS3 Module: Syntax
- DOM Level 2 Style CSS
- DOM Level 2 Style Stylesheets
- CSSOM
- MediaQueries
- Namespaces
- Selectors
To fix this problem, we can install more using the command below.
sudo apt-get -y install python3-cssutils
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install python3-cssutils.
sudo apt -y install python3-cssutils
Or if you have aptitude installed you can use the following command.
sudo aptitude install python3-cssutils
Summary
In this tutorial we learn how to fix cssparse_py3 command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.