Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation guide is insufficient #118

Open
ByUnal opened this issue Jun 6, 2023 · 0 comments
Open

Installation guide is insufficient #118

ByUnal opened this issue Jun 6, 2023 · 0 comments

Comments

@ByUnal
Copy link

ByUnal commented Jun 6, 2023

I tried to work Google Colab and followed instruction in installation guide. It gave me Module Not Found Error for emmental and huggingface-hub. I installed them via pip. However, It threw me a new error:

---------------------------------------------------------------------------
ZipImportError                            Traceback (most recent call last)
[<ipython-input-7-2e0c8f4f74b8>](https://localhost:8080/#) in <cell line: 1>()
----> 1 from bootleg.end2end.bootleg_annotator import BootlegAnnotator
      2 ann = BootlegAnnotator()
      3 ann.label_mentions("How many people are in Lincoln")["titles"]

1 frames
[/usr/local/lib/python3.10/dist-packages/bootleg-1.1.1.dev0-py3.10.egg/bootleg/dataset.py](https://localhost:8080/#) in <module>
     18 
     19 from bootleg import log_rank_0_debug, log_rank_0_info
---> 20 from bootleg.layers.alias_to_ent_encoder import AliasEntityTable
     21 from bootleg.symbols.constants import ANCHOR_KEY, PAD_ID, STOP_WORDS
     22 from bootleg.symbols.entity_symbols import EntitySymbols

<frozen zipimport> in get_code(self, fullname)

<frozen zipimport> in _get_module_code(self, fullname)

<frozen zipimport> in _get_data(archive, toc_entry)

ZipImportError: bad local file header: '/usr/local/lib/python3.10/dist-packages/bootleg-1.1.1.dev0-py3.10.egg'

```

Can you fix the repo and guideline ? maybe adding requirements.txt would be useful. 
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

No branches or pull requests

1 participant