underscore.py icon indicating copy to clipboard operation
underscore.py copied to clipboard

Version on Pip seems to be outdated

Open eschow opened this issue 9 years ago • 0 comments

Hi,

I followed the directions in your README.md and ran pip install underscore.py. But when I built scripts written by my co-workers, I received errors that said function object does not have attribute 'filter'.

A look at dir(_) shows:

['__call__', '__class__', '__closure__', '__code__', '__defaults__', '__delattr__', '__dict__', '__doc__', '__format__', '__get__', '__getattribute__', '__globals__', '__hash__', '__init__', '__module__', '__name__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', 'func_closure', 'func_code', 'func_defaults', 'func_dict', 'func_doc', 'func_globals', 'func_name']

And none of the functions I was looking for, specifically filter and groupBy.

I followed the alternate suggestions of cloning the repo and installing from the directory, and that worked successfully.

eschow avatar Apr 01 '16 15:04 eschow