Skip to content Skip to sidebar Skip to footer

Error In Pip Install Datefinder

While I was trying to pip install python package 'datefinder', I met the error about regex and visual c++. I have viewed lots of Stackoverflow posts and cannot find a solution yet.

Solution 1:

There is hardcoded value of regex version in setup.py. You need to download source code from https://github.com/akoumjian/datefinder and change regex version from regex==2016.01.10 to regex>=2016.01.10 or your latest. e.g.:

line 85: install_requires=['regex>=2016.01.10', 'python-dateutil>=2.4.2', 'pytz'],

Then install with

pip install ./path_to_datefinder_source

Post a Comment for "Error In Pip Install Datefinder"