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

python2.7/subprocess.py error #29

Open
YingHsuan opened this issue Dec 14, 2015 · 0 comments
Open

python2.7/subprocess.py error #29

YingHsuan opened this issue Dec 14, 2015 · 0 comments

Comments

@YingHsuan
Copy link

while I use ./demo.py, and show this error:

Importing a file into MALLET: [data/demo/lda_x40_v2/corpus/corpus.txt] --> [data/demo/lda_x40_v2/model-mallet/corpus.mallet]
Traceback (most recent call last):
File "bin/train_mallet.py", line 42, in
main()
File "bin/train_mallet.py", line 39, in main
TrainMallet( args.corpus_path, args.model_path, args.token_regex, args.topics, args.iters, args.quiet, args.overwrite )
File "bin/train_mallet.py", line 25, in TrainMallet
BuildLDA( corpus_filename, model_path, tokenRegex = token_regex, numTopics = num_topics, numIters = num_iters )
File "/Users/ying-hsuanlin/termite_data_server/bin/modellers/MalletLDA.py", line 31, in init
importer.ImportFileOrFolder( tokenRegex )
File "/Users/ying-hsuanlin/termite_data_server/bin/modellers/MalletLDA.py", line 76, in ImportFileOrFolder
self.Shell( command )
File "/Users/ying-hsuanlin/termite_data_server/bin/modellers/MalletLDA.py", line 44, in Shell
p = subprocess.Popen( command, stdout = subprocess.PIPE, stderr = subprocess.STDOUT )
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 710, in init

how can i fix it? thx

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