title: LDA Mallet CalledProcessError
body: <p>I am trying to implement the following code:</p>
  
  <pre><code>import os
  os.environ.update({'MALLET_HOME':r'c:/mallet-2.0.8/'})
  
  mallet_path = 'C:\\mallet-2.0.8\\bin\\mallet'
  ldamallet = gensim.models.wrappers.LdaMallet(mallet_path, corpus=bow, num_topics=20, id2word=dictionary)
  </code></pre>
  
  <p>However, I keep getting this error: </p>
  
  <blockquote>
    <p>CalledProcessError: Command 'C:\mallet-2.0.8\bin\mallet import-file --preserve-case --keep-sequence --remove-stopwords --token-regex "\S+" --input C:\Users\Joshua\AppData\Local\Temp\98094d_corpus.txt --output C:\Users\Joshua\AppData\Local\Temp\98094d_corpus.mallet' returned non-zero exit status 1.</p>
  </blockquote>
  
  <p>I previously was able to execute this code on my laptop with the same directories yet it does not execute on my PC (where I am currently running python). </p>
  
  <p>Could someone please let me know what I am doing wrong?</p>