Skip to content

Version on Pip seems to be outdated #18

@eschow

Description

@eschow

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions