Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Import Error: "No module named 'dateutil' "

I installed Python-Dateutil package, but when i import it in my script , it's throwing error:

import dateutil ImportError: No module named 'dateutil'

when i checked the lib folder, dateutil.eggs files are there , because of this i can not run matplotlib module. Please provide a solution.

like image 248
Abhinaba Avatar asked Dec 15 '17 13:12

Abhinaba


People also ask

Is dateutil included in Python?

In Python, dateutil is an extension module of the datetime module which is used for displaying the date and time.

What is Python dateutil package?

The dateutil module supports the parsing of dates in any string format. This module provides internal up-to-date world time zone details. This module helps in computing the relative deltas. This module also helps in computing the dates based on pretty flexible rules of recurrence.


1 Answers

Python 3+

pip3 install python-dateutil

Python 2

pip install python-dateutil
like image 130
Gayan Weerakutti Avatar answered Sep 30 '22 13:09

Gayan Weerakutti