dateutil 2.5.0 is the minimum required version

user1745564 picture user1745564 · Jul 23, 2018 · Viewed 16.7k times · Source

I'm running the jupyter notebook (Enthought Canopy python distribution 2.7) on Mac OSX (v 10.13.6). When I try to import pandas (import pandas as pd), I am getting the complaint: ImportError: dateutil 2.5.0 is the minimum required version. I have these package versions:

  • Canopy version 2.1.3.3542 (64 bit)
  • jupyter version 1.0.0-25
  • pandas version 0.23.1-1
  • python_dateutil version 2.6.0-1

I'm not getting this complaint when I run with the Canopy Editor so it must be some jupyter compatibility problem. Does anyone have a solution on how to fix this? All was well a few months ago until I recently (and mindlessly) allowed an update of my packages.

Answer

GPrathap picture GPrathap · Oct 11, 2018

For me to solve this issue I had to install python-dateutil library.

pip install python-dateutil==2.5.0

This was resolved the issue.