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: './latex/power.json' when running data_loader.py #3

Open
99starman opened this issue Jun 22, 2023 · 0 comments

Comments

@99starman
Copy link

Hello,

While following the example in the README (downloading the wiki_corpus dataset), I encountered the following error:

>>> python data_loader.py -d power --save_dir ./css_data/wiki_corpus
Downloading wiki-corpus to C:\Users\yangs\.convokit\downloads\wiki-corpus
Downloading wiki-corpus from http://zissou.infosci.cornell.edu/convokit/datasets/wiki-corpus/wiki-corpus.zip (238.4MB)... Done
Traceback (most recent call last):
  File "E:\...\LLMs_for_CSS\data_loader.py", line 276, in <module>
    main(args.dataset, args.save_dir)
  File "E:\...\LLMs_for_CSS\data_loader.py", line 254, in main
    convokit_process(dataset, save_dir)
  File "E:\...\LLMs_for_CSS\data_loader.py", line 242, in convokit_process
    export_latex(
  File "E:\...\LLMs_for_CSS\latex_prompt_exporter.py", line 36, in export_latex
    text_file = open(filename, "w")
                ^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: './latex/power.json'

There doesn't seem to be a latex folder in the same directory as latex_prompt_exporter.py, or perhaps my ConvoKit is not properly installed? Also tried some other datasets from convokit and received similar errors.

Here's the output from pip:

Name: convokit
Version: 2.5.3
Summary: ConvoKit
Home-page: https://github.com/CornellNLP/ConvoKit
Author: Jonathan P. Chang, Caleb Chiam, Liye Fu, Andrew Wang, Justine Zhang, Cristian Danescu-Niculescu-Mizil
Author-email: [email protected]
License:
Location: E:\python\Lib\site-packages
Editable project location: E:\...\LLMs_for_CSS\ConvoKit
Requires: clean-text, dill, dnspython, joblib, matplotlib, msgpack-numpy, nltk, pandas, pymongo, pyyaml, scikit-learn, scipy, spacy, tqdm, unidecode
Required-by:

Thank you!

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