smartypants command not found
In this troubleshooting guide we learn how to fix smartypants command not found error message
Introduction
When you run more command in linux terminal / console, you get the following error message
smartypants: command not found
or when using sudo you get the following error message
sudo: smartypants: command not found
Solutions to smartypants: command not found
How To Fix smartypants: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu smartypants is provided by python3-smartypants package.
python3-smartypants is:
It can perform the following transformations:
- Straight quotes ( " and ’ ) into “curly” quote HTML entities
- Backticks-style quotes (``like this’’) into “curly” quote HTML entities
- Dashes (– and —) into en- and em-dash entities
- Three consecutive dots (… or . . .) into an ellipsis entity
This means you can write, edit, and save your posts using plain old ASCII straight quotes, plain dashes, and plain dots, but your published posts (and final HTML output) will appear with smart quotes, em-dashes, and proper ellipses.
SmartyPants does not modify characters within
, , ,