Skip to content

The file setup.py does not import the sys library causing an error if torch is not found. #189

Closed
@jyothisvjames

Description

@jyothisvjames

Line 14 of the setup.py gives out an error if torch is not found in the system, since the sys library is not imported in the beginning.
sys.exit(1)

The following line should be moved to the beginning of the setup.py file to solve this issue.
import sys

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