Octave 安装后的警告

发布于 2025-01-05 17:42:01 字数 382 浏览 1 评论 0原文

启动八度后我收到以下警告。 我使用了来自

可能是什么问题?这些是重大警告吗? 我正在使用Windows。

warning: gmsh does not seem to be present some functionalities will be disabled
warning: dx does not seem to be present some functionalities will be disabled
warning: function C:\Octave\Octave3.6.0_gcc4.6.2\share\octave\packages\statistics- 
1.1.0\fstat.m shadows a core library function

I am getting following warning after launching octave.
i used installation instruction from here.

What could be the issue? Are these major warnings?
I am using windows.

warning: gmsh does not seem to be present some functionalities will be disabled
warning: dx does not seem to be present some functionalities will be disabled
warning: function C:\Octave\Octave3.6.0_gcc4.6.2\share\octave\packages\statistics- 
1.1.0\fstat.m shadows a core library function

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

差↓一点笑了 2025-01-12 17:42:01

这是因为您安装了可能不需要的软件包(否则您已经注意到的不仅仅是警告消息)

warning: gmsh does not seem to be present some functionalities will be disabled

您已经安装并加载了 msh 软件包。该软件包使用 gmsh 因此会出现警告。如果您不使用此软件包,请删除它 pkg uninstall msh 或使用 pkg rebuild -noauto msh 关闭启动时的自动加载

warning: dx does not seem to be present some functionalities will be disabled

我不知道到底使用哪个软件包dx 但我猜问题与 msh 相同。运行pkg unload all,然后尝试一一加载它们,直到找到警告。修复与 msh 包的情况相同。

warning: function C:\Octave\Octave3.6.0_gcc4.6.2\share\octave\packages\statistics- 
1.1.0\fstat.m shadows a core library function

统计包中的 fstat() 函数正在隐藏 Octave 核心中同名的相同函数。 core 中的那个已经被弃用,所以不用担心这个警告。 Octave 3.8 发布后它将消失。

That's because you have installed packages that you probably do not need (otherwise you would already noticed more than just the warning message)

warning: gmsh does not seem to be present some functionalities will be disabled

You have the msh package installed and loaded. This package uses gmsh hence the warning. If you don't use this package remove it pkg uninstall msh or turn off its automatic loading at startup with pkg rebuild -noauto msh

warning: dx does not seem to be present some functionalities will be disabled

I don't know exactly which package uses dx but I'm guessing the problem is same as the msh. Run pkg unload all and then try to load them one by one until you find the warning. Fix as in the case of msh package.

warning: function C:\Octave\Octave3.6.0_gcc4.6.2\share\octave\packages\statistics- 
1.1.0\fstat.m shadows a core library function

The fstat() function from the statistics package is shadowing the same function with same name from Octave core. The one in core is already deprecated so don't worry about this warning. It will go away after Octave 3.8 is released.

烟燃烟灭 2025-01-12 17:42:01

为了解决

警告:dx 似乎不存在,某些功能将被禁用

Ubuntu 中的某些功能将被禁用,您必须编辑以下文件

sudo nano /usr/share/octave/3.8.1/m/startup/octaverc

并且您应该注释此行 pkg ("load", "auto");

这是此警告的解决方案。

To solve the

warning: dx does not seem to be present some functionalities will be disabled

in Ubuntu, you have to edit the following file

sudo nano /usr/share/octave/3.8.1/m/startup/octaverc

and you should comment this line pkg ("load", "auto");

This is the solution for this warning .

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文