Skip to content
Related Articles
Get the best out of our app
GeeksforGeeks App
Open App

Related Articles

How to Install python-dateutil on Windows?

Improve Article
Save Article
Like Article
Improve Article
Save Article
Like Article

The dateutil package, which is available in Python 2 and Python 3, adds a lot of features to the conventional DateTime module. Or, to put it another way, it extends Python’s DateTime module. It calculates relative deltas such as next month, next year, previous week, and so on. Its time zone data comes from Olson’s database. We will learn how to install python-dateutil on the Windows operating system in this article. 

Installing the python-dateutil package on Windows using PIP


  1. Python3   
  2. Python3-pip

To install the python-dateutil package in Windows follow the following steps:

Step 1: Firstly, we will check the current version of Python3 using the following command.

python –version



Step 2: Now, we will check the version of the pip package manager, which is responsible for installing the external packages. Use the below command to check the version of the pip manager

pip –version



Step 3: Now using the PIP manager we are going to install the python-dateutil package. So for the installation run the following command on the terminal.

pip install python-dateutil



Verifying the installation of the python-dateutil package

After installing the package, the next important step is to check the installation of the python-dateutil package is successful or not. So here, we are simply getting the information of the installed package (python-dateutil) by executing the below command on the terminal itself.

python -m pip show python-dateutil

The below output will be displayed after the successful installation of the python-dateutil package on your Windows machine.



My Personal Notes arrow_drop_up
Last Updated : 25 Apr, 2022
Like Article
Save Article
Similar Reads