dateparser-download command not found

In this troubleshooting guide we learn how to fix dateparser-download command not found error message

Introduction

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

dateparser-download: command not found

or when using sudo you get the following error message

sudo: dateparser-download: command not found

Solutions to dateparser-download: command not found

How To Fix dateparser-download: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu dateparser-download is provided by python3-dateparser package.

python3-dateparser is:

dateparser provides modules to easily parse localized dates in almost any string formats commonly found on web pages.

  • Generic parsing of dates in over 200 language locales plus numerous formats in a language agnostic fashion.
  • Generic parsing of relative dates like: ‘1 min ago’, ‘2 weeks ago’, ‘3 months, 1 week and 1 day ago’, ‘in 2 days’, ’tomorrow’.
  • Generic parsing of dates with time zones abbreviations or UTC offsets like: ‘August 14, 2015 EST’, ‘July 4, 2013 PST’, ‘21 July 2013 10:15 pm +0500’.
  • Date lookup in longer texts.
  • Support for non-Gregorian calendar systems.
  • Extensive test coverage.

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

sudo apt-get -y install python3-dateparser

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

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

sudo apt -y install python3-dateparser

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

sudo aptitude install python3-dateparser

Summary

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