How to Install python-dateutil on Windows?
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
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.
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
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.
Please Login to comment...