0

I am using windows 7. I installed Mallet and it works perfectly when I go to the Mallet directory. However, I am using some python software that calls it (https://github.com/uwgraphics/VEP_TMScripts) and I get the above referenced error. How do I install it so it is accessible from my system path. I tried to add it to the path and that did not work.. Any ideas would be greatly appreciated! Thank you!

Sincerely,

tom

tom
  • 315
  • 1
  • 3
  • 10

1 Answers1

1

For Windows you may need to set the environment variable %MALLET_HOME% to point to the MALLET directory in order for the mallet.bat command to work.

Calling Mallet from a python process might require you to set a classpath variable in Windows. You will need to check the script itself to be sure.

David Mimno
  • 1,836
  • 7
  • 7
  • Hi David, Thank you for responding! I have a truly stupid question for you: How would I know that a classpath variable is required? Thank you! – tom Jan 11 '17 at 17:22