Skip to content

setup.py not finding libaten #28

@rainjacket

Description

@rainjacket
Cloning into 'sentiment-discovery'...
Traceback (most recent call last):
  File "setup.py", line 71, in <module>
    libaten = find(torch_dir, re.compile("libaten", re.IGNORECASE).search, False)
  File "setup.py", line 31, in find
    return list(set(collection))
TypeError: 'NoneType' object is not iterable

I think it might have been a naming change in the newest version of torch. I changed re.compile("libaten", re.IGNORECASE) to re.compile("aten", re.IGNORECASE) and it seems to be working now.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions