deeptype icon indicating copy to clipboard operation
deeptype copied to clipboard

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

Open parisak916 opened this issue 4 years ago • 1 comments

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

parisak916 avatar Feb 06 '20 20:02 parisak916

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

tbarnier avatar Jun 23 '20 23:06 tbarnier