Weka 3.8包管理器无法正常工作

时间:2016-07-13 13:08:06

标签: machine-learning weka

我正在尝试从Tools tab打开包管理器,我收到以下错误:

C:\Users\user\wekafiles\repCache\MultiObjectiveEvolutionaryFuzzyClassifier\versions.txt (The system cannot find the path specified)
    java.io.FileInputStream.open0(Native Method)
    java.io.FileInputStream.open(Unknown Source)
    java.io.FileInputStream.<init>(Unknown Source)
    java.io.FileInputStream.<init>(Unknown Source)
    sun.net.www.protocol.file.FileURLConnection.connect(Unknown Source)
    sun.net.www.protocol.file.FileURLConnection.getInputStream(Unknown Source)
    weka.core.packageManagement.DefaultPackageManager.getRepositoryPackageVersions(DefaultPackageManager.java:294)
    weka.core.WekaPackageManager.getRepositoryPackageVersions(WekaPackageManager.java:1734)
    weka.gui.PackageManager.getPackagesAndEstablishLookup(PackageManager.java:2389)
    weka.gui.PackageManager.getAllPackages(PackageManager.java:2445)
    weka.gui.PackageManager.<init>(PackageManager.java:1517)
    weka.gui.GUIChooserApp$11$1.run(GUIChooserApp.java:822)
    at java.io.FileInputStream.open0(Native Method)
    at java.io.FileInputStream.open(Unknown Source)
    at java.io.FileInputStream.<init>(Unknown Source)
    at java.io.FileInputStream.<init>(Unknown Source)
    at sun.net.www.protocol.file.FileURLConnection.connect(Unknown Source)
    at sun.net.www.protocol.file.FileURLConnection.getInputStream(Unknown     Source)
    at weka.core.packageManagement.DefaultPackageManager.getRepositoryPackageVersions(DefaultPackageManager.java:294)
    at  weka.core.WekaPackageManager.getRepositoryPackageVersions(WekaPackageManager.java:1734)
    at     weka.gui.PackageManager.getPackagesAndEstablishLookup(PackageManager.java:2389)
    at weka.gui.PackageManager.getAllPackages(PackageManager.java:2445)
    at weka.gui.PackageManager.<init>(PackageManager.java:1517)
    at weka.gui.GUIChooserApp$11$1.run(GUIChooserApp.java:822)
A problem has occurred whilst trying to get all package information. Trying a cache refresh...
Refresh in progress. Please wait...

然后下载默认包管理器:

[DefaultPackageManager] downloaded 13 KB
[DefaultPackageManager] downloaded 16 KB
[DefaultPackageManager] downloaded 28 KB
[DefaultPackageManager] downloaded 50 KB
[DefaultPackageManager] downloaded 67 KB
[DefaultPackageManager] downloaded 75 KB
...[DefaultPackageManager] downloaded 1666 KB

并再次输出相同的错误。

注意:文件versions.txt已正确放置在C:\Users\user\wekafiles\repCache\MultiObjectiveEvolutionaryFuzzyClassifier目录

可能出现什么问题?

1 个答案:

答案 0 :(得分:3)

实际上,您的文件系统中存在的目录是MultiObje c tiveEvolutionaryFuzzyClassifier,而没有&#39; c&#39; 。自己改变它,你会让它运作良好:))