Skip to content

Conversation

@apacuk
Copy link

@apacuk apacuk commented Jun 23, 2022

  • fixed tests

Version available in pip (https://pypi.org/project/rouge-score/) is outdated.

Installation from master:

pip install -e "git+https://github.com/google-research/google-research.git#egg=rouge_score&subdirectory=rouge

failed with:

File "/home/jupyter-apacuk/.conda/envs/encoder_decoder/lib/python3.8/linecache.py", line 136, in updatecache
    with tokenize.open(fullname) as fp:
AttributeError: module 'tokenize' has no attribute 'open'

due to file tokenize.py that hide standard library module tokenize.

Andrzej Pacuk added 3 commits June 23, 2022 08:45
+ fixed tests

Version available in pip (https://pypi.org/project/rouge-score/) is outdated.

Installation from master:
```
pip install -e "git+https://github.com/google-research/google-research.git#egg=rouge_score&subdirectory=rouge
```
failed with:
```
File "/home/jupyter-apacuk/.conda/envs/encoder_decoder/lib/python3.8/linecache.py", line 136, in updatecache
    with tokenize.open(fullname) as fp:
AttributeError: module 'tokenize' has no attribute 'open'
```
due to file `tokenize.py` that hide standard library module `tokenize`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants