Octave - 如何在 Windows 上安装软件包
Octave - How to install packages on Windows
问题
由于 Fix for Octave urlread causing Peer certificate cannot be authenticated with given CA certificates 中的问题,我无法在 Windows 上安装 Octave 包。
请推荐其他安装方式。特别是我想通过 Gradients, Gradient Plots and Tangent Planes 需要 Symbolic 包。
编辑:此错误不再出现在 Octave v4.2.1 中,问题中描述的问题应该不会再出现。
是的,似乎a known issue logged on the bug tracker with the current release version of Octave (4.2.0) on windows being unable to connect to https due to the curl issue you identified in the linked discussions/questions. That bug report and the original help list discussion总结了证书问题和问题验证。它应该在下一个 Octave 版本中修复。
但这并不妨碍您安装软件包。它只会阻止您使用程序去获取要安装的包。您仍然可以转到 Octave Forge package site, manually download a package file, and then as described in the Octave manual and help for pkg 运行 安装命令。
例如,您可以下载 symbolic-2.4.0.tar.gz 并将其保存到当前工作目录。然后在八度内,从命令行发出以下命令:
pkg install symbolic-2.4.0.tar.gz
注意:symbolic 当前需要安装 Python 和 Sympy。如果你的 Windows 机器上还没有这个,包维护者有一个单独的 self-contained 包用于 Windows,可以从 the author's github repository 获得。在这种情况下,您将下载软件包和 运行 命令:
pkg install symbolic-win-py-bundle-2.4.0.zip
另一个更乏味的选择是您从开发源代码编译您自己的副本,因为修复应该已推送到 mxe-octave 存储库。
问题
由于 Fix for Octave urlread causing Peer certificate cannot be authenticated with given CA certificates 中的问题,我无法在 Windows 上安装 Octave 包。
请推荐其他安装方式。特别是我想通过 Gradients, Gradient Plots and Tangent Planes 需要 Symbolic 包。
编辑:此错误不再出现在 Octave v4.2.1 中,问题中描述的问题应该不会再出现。
是的,似乎a known issue logged on the bug tracker with the current release version of Octave (4.2.0) on windows being unable to connect to https due to the curl issue you identified in the linked discussions/questions. That bug report and the original help list discussion总结了证书问题和问题验证。它应该在下一个 Octave 版本中修复。
但这并不妨碍您安装软件包。它只会阻止您使用程序去获取要安装的包。您仍然可以转到 Octave Forge package site, manually download a package file, and then as described in the Octave manual and help for pkg 运行 安装命令。
例如,您可以下载 symbolic-2.4.0.tar.gz 并将其保存到当前工作目录。然后在八度内,从命令行发出以下命令:
pkg install symbolic-2.4.0.tar.gz
注意:symbolic 当前需要安装 Python 和 Sympy。如果你的 Windows 机器上还没有这个,包维护者有一个单独的 self-contained 包用于 Windows,可以从 the author's github repository 获得。在这种情况下,您将下载软件包和 运行 命令:
pkg install symbolic-win-py-bundle-2.4.0.zip
另一个更乏味的选择是您从开发源代码编译您自己的副本,因为修复应该已推送到 mxe-octave 存储库。