Skip to content

python dateutil==1.5 dependency error

twongjirad edited this page Oct 27, 2015 · 1 revision

you might see the following error when trying to install pylard:

Installed /Users/twongjirad/working/uboone/larlite/envlite/lib/python2.7/site-packages/pylard-0.1-py2.7.egg
Processing dependencies for pylard==0.1
error: Installed distribution python-dateutil 2.4.2 conflicts with requirement python-dateutil==1.5

This can happen as python-dateutil > 2 was suppose to be only for python 3, but for some reason the macports version of python 2.7 for Mac OS X can run 2.4.2. As a result, pycollada, which requires python-dateutil==1.5 stops the installation.

To get around this, I've cloned the pycollada repository, and installed it (into my virtualenv) installation of python before running setup.py for pylard. This seems to work. I can run the 3D model, which is what uses pycollada just fine.

Clone this wiki locally