Skip to content

setup.py not finding libaten #28

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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