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

FileNotFoundError: [Errno 2] No such file or directory: 'data/wikidata/wikidata_wikititle2wikidata.tsv' #58

Open
parisak916 opened this issue Feb 6, 2020 · 1 comment

Comments

@parisak916
Copy link

Hi,

I get this issue when running:
python3 extraction/project_graph.py ${DATA_DIR}wikidata/ extraction/classifiers/type_classifier.py

Full error:
Traceback (most recent call last):
File "extraction/project_graph.py", line 183, in
main()
File "extraction/project_graph.py", line 93, in main
cache=args.use_cache
File "/Users/parisakhan/.pyenv/versions/3.6.0/lib/python3.6/site-packages/wikidata_linker_utils/type_collection.py", line 53, in init
prefix=prefix
File "/Users/parisakhan/.pyenv/versions/3.6.0/lib/python3.6/site-packages/wikidata_linker_utils/wikidata_ids.py", line 54, in load_names
with open(path, "rt", encoding="UTF-8") as fin:
FileNotFoundError: [Errno 2] No such file or directory: 'data/wikidata/wikidata_wikititle2wikidata.tsv'

Thanks

@tbarnier
Copy link

You have to go through the pre-processing phase to generate these files
(and around 1TB disk space)

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

2 participants