八度:无法识别加载的包

Octave: Loaded package is not recognized

我已经通过 pkg install -forge image 安装了软件包 image 并且在收到大量警告后(我正在使用 clang 作为 C 编译器,是的,我知道。 ..) 安装完成。

然后我用普通的 pkg load image 加载了包,Octave 没有抱怨。但是当我输入 help viscircles 来获得函数的一些帮助时,Octave 表现得好像没有包 image,这意味着它返回了

>> help viscircles
error: help: the 'viscircles' function belongs to the image package 
from Octave Forge but has not yet been implemented.

Please read <http://www.octave.org/missing.html> to learn how you can
contribute missing functionality.

现在我执行了 pkg list 来查看是否确实安装并加载了包,是的(image 包旁边有一个星号,表示该包是已加载)。

我决定卸下所有包裹,所以我做到了。现在,在再次加载 image 之前,我再次执行了 help viscircles,但是这次我得到了下一个错误:

>> help viscircles
error: help: the 'viscircles' function belongs to the image package 
from Octave Forge which you have installed but not loaded.  To load the 
package, run 'pkg load image' from the Octave prompt.

有趣...我再次加载了包,但遇到了与以前相同的问题。我也手动下载了包,然后重新安装,同样的问题。

是的,我有 Octave 4.0.2,图像 2.6.2 的要求是版本 4.0.0+。

函数viscircles仅适用于镜像包的开发版本。它不是您安装的当前版本 2.6.2 的一部分。

错误信息:

>> help viscircles
error: help: the 'viscircles' function belongs to the image package 
from Octave Forge which you have installed but not loaded.  To load the 
package, run 'pkg load image' from the Octave prompt.

表示该函数不是 Octave 的一部分,如果它存在,它将在图像包中。并不是说镜像包真的会拥有它,只是说它属于它。加载包后得到的错误信息:

>> help viscircles
error: help: the 'viscircles' function belongs to the image package 
from Octave Forge but has not yet been implemented.

Please read <http://www.octave.org/missing.html> to learn how you can
contribute missing functionality.

告诉你问题所在。函数 viscircles 未在该版本的包上实现。

您可以从图像包的 mercurial 存储库中获取它,尽管在 75df28049249。不过不确定它是否适用于 Octave 4.0。