Skip to content

Unable to import the package #39

@29riyasaxena

Description

@29riyasaxena

I am unable to import the package into google colab and download it to my local computer. It raises the following error while importing it into google colab:

KeyError: 'ROUGE_HOME'

During handling of the above exception, another exception occurred:

NameError                                 Traceback (most recent call last)
[/usr/local/lib/python3.7/dist-packages/summ_eval/rouge_metric.py](https://localhost:8080/#) in <module>
     23     print(f'Please run the following command and add it to your startup script: \n export ROUGE_HOME={os.path.join(dirname, "ROUGE-1.5.5/")}')
     24     print(f'Please also run this command: \n pip install -U  git+https://github.com/bheinzerling/pyrouge.git')
---> 25     exit()
     26 
     27 @gin.configurable

NameError: name 'exit' is not defined

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