简体   繁体   中英

Mallet is not recognized as internal or external command

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

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM