我正在尝试从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
目录中有什么事吗
最佳答案
实际上,文件系统中存在的目录是MultiObje c
tiveEvolutionaryFuzzyClassifier,不带'c'。自行更改,即可正常使用:)
关于machine-learning - Weka 3.8软件包管理器不起作用,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/38352667/