Skip to main content
 首页 » 编程设计

python之在 Python 中使用 Weka

2024年11月01日10jillzhang

到目前为止,我一直在尝试为 Weka (Weka 0.1.3) 安装软件包,但未成功找到 here在我的 Windows 电脑上。我的问题是每次我尝试运行安装程序或使用命令时:

pip install -U https://github.com/chrisspen/weka/tarball/master 

我得到一个断言错误说

"Weka JAR file /usr/share/java/weka.jar not found. Ensure the file is installed or update your environment's WEKA_JAR_PATH to only include valid locations."

我确实没有这个文件,但是我该如何获取呢?我不确定我是否遗漏了有关安装的任何内容,至少我按照官方网页上的说明进行了操作。

有什么建议吗?非常感谢!

请您参考如下方法:

由于这是一个包装包,您还需要安装 Weka(大概是用于 Windows)- 它是 here您可能还需要升级或安装 java。