Dateutil - powerful extensions to datetime. The dateutil module provides powerful extensions to the standard datetime module, available in Python. Dateutil can be installed from PyPI using pip (note that the package name is different from the importable name): pip install python-dateutil Download. Class dateutil.parser.parserinfo (dayfirst=False, yearfirst=False) source ¶ Class which handles what inputs are accepted. Subclass this to customize the language and acceptable values for each parameter. Download python-dateutil packages for Arch Linux, CentOS, Debian, Fedora, Mageia, OpenMandriva, openSUSE, PCLinuxOS, ROSA, Slackware, Ubuntu.

Download python-dateutil-1.4.1-7.el6.noarch.rpm for CentOS 6 from CentOS repository. In a DOS window, I navigated to the installed root folder from extracting the zip file (python-dateutil-2.6.0), then issued this command:. Python setup.py install Whammo-bammo it all worked. The dateutil module provides powerful extensions to the standard datetime module, available in Python. Installation dateutil can be installed from PyPI using pip (note that the package name is different from the importable name).

Active2 years, 9 months ago

The dateutil module provides powerful extensions to the standard datetime module, available in Python 2.3+. Dateutil 2.0 is out! Ported to Python 3, by Brian Jones. If you need dateutil for Python 2.X, please continue using the 1.X series. There's no such thing as a 'PSF License'.

I'm trying to convert some date/times to UTC, which I thought would be dead simple in Python - batteries included, right? Well, it would be simple except that Python (2.6) doesn't include any tzinfo classes. No problem, a quick search turns up python-dateutil which should do exactly what I need.

The problem is that I need to install it on Windows. I was able to upack the .tar.gz2 distribution using 7-zip, but now I'm left with a collection of files and no guidance on how to proceed. When I try to run setup.py I get the error 'No module named setuptools'.

Zero Piraeus
33.7k20 gold badges112 silver badges132 bronze badges
Mark RansomMark Ransom
234k31 gold badges303 silver badges530 bronze badges

11 Answers

If dateutil is missing install it via:

Or on Ubuntu:

Hugo
17.8k5 gold badges45 silver badges66 bronze badges
Stan ReshetnykStan Reshetnyk

Why didn't someone tell me I was being a total noob? All I had to do was copy the dateutil directory to someplace in my Python path, and it was good to go.

Mark RansomMark Ransom
234k31 gold badges303 silver badges530 bronze badges

Looks like the setup.py uses easy_install (i.e. setuptools). Just install the setuptools package and you will be all set.

To install setuptools in Python 2.6, see the answer to this question.

Community
Jason CoonJason Coon
11.1k8 gold badges33 silver badges48 bronze badges

Install from the 'Unofficial Windows Binaries for Python Extension Packages'

Pretty much has every package you would need.

Python Dateutil Download Full

eamoeamo

It is a little tricky for people who is not used to command prompt. All you haveto do is open the directory where python is installed (C:Python27 by default) and open the command prompt there (shift + right click and select open command window here) and then type :

python -m pip install python-dateutil

Hope that helps.

Jhossep Augusto Popayán AvilaJhossep Augusto Popayán Avila

Using setup from distutils.core instead of setuptools in setup.py worked for me, too:

Chris OstlerChris Ostler

If you are offline and have untared the package, you can use command prompt.

Navigate to the untared folder and run:

Ray JowaRay Jowa

Just run command prompt as administrator and type this in.

May 13, 2019  Look for your connected device (such as Apple iPhone), then right-click on the device name and choose Update driver. Select 'Search automatically for updated driver software.' After the software installs, go to Settings Update & Security Windows Update and verify that no other updates are available. Jan 27, 2017  HOW TO DOWNLOAD APPLE DEVICE DRIVER - WINDOWS 10 CAN'T DOWNLOAD apple device driver on windows 10. It after installing a program called 'Driver Update' for some reason when I downloaded the 'Apple mobile device driver' it did not install, but after downloading the driver update program, there was no problem and the file installed without a. Dec 04, 2018  Windows 10 PC users never had to manually install iPhone drivers in order to backup or sync iPhone in Windows 10 PC using iTunes. This seems to have change. Install iPhone driver in Windows 10. Step 1: Open the Device Manager by right-clicking on the Start button on the taskbar and then clicking on the Device Manager option. Install ipod driver windows 10 hp. Jun 28, 2017  Question: Q: No Apple USB Driver in Windows 10 Device Manager. Is there a way to get the Apple USB Driver back in the Windows 10 Device Manager. I downloaded the iTunes 12.3.3 yesterday and now it is gone. Or try iPhone, iPad, or iPod not recognized in iTunes for Windows.

UserUser
8,43626 gold badges84 silver badges152 bronze badges

You could also change your PYTHONPATH:

Python 3.6 Dateutil

Where /usr/lib/python2.6/site-packages/python_dateutil-1.5-py2.6.egg is the place dateutil was installed in my box (centos using sudo yum install python-dateutil15) Download the boondocks season 1.

luismartingilluismartingil

First confirm that you have in C:/python##/Lib/Site-packages/ a folder dateutil, perhaps you download it, you should already have pip,matplotlib, six##,confirm you have installed dateutil by--- go to the cmd, cd /python, you should have a folder /Scripts. cd to Scripts, then type --pip install python-dateutil ------This applies to windows 7 Ultimate 32bit, Python 3.4------

Anton KiggunduAnton Kiggundu

Python Dateutil.parser Download

I followed several suggestions in this list without success. Finally got it installed on Windows using this method: I extracted the zip file and placed the folders under my python27 folder. In a DOS window, I navigated to the installed root folder from extracting the zip file (python-dateutil-2.6.0), then issued this command:

Whammo-bammo it all worked.

Dateutil Parser Python

DirkasarusDirkasarus

Not the answer you're looking for? Browse other questions tagged pythoninstallpython-dateutil or ask your own question.