八度-如何在Windows上安装软件包 [英] Octave - How to install packages on Windows

查看:79
本文介绍了八度-如何在Windows上安装软件包的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

由于修正了Octave urlread的问题,导致对等证书无法使用给定的CA证书进行身份验证,我无法安装Octave软件包在Windows上.

Due to the issue in Fix for Octave urlread causing Peer certificate cannot be authenticated with given CA certificates, I cannot install Octave packages on Windows.

请建议其他安装方式.特别是,我想通过渐变,渐变图和切线平面这需要符号包.

Please suggest other ways to install. Particularly I would like to go through Gradients, Gradient Plots and Tangent Planes which requires Symbolic package.

推荐答案

此错误在Octave v4.2.1中不再存在,并且问题中描述的问题也不再发生.

this bug is no longer present in Octave v4.2.1, and the issue described in the Question should no longer occur.

是的,似乎出现了在错误跟踪器上记录的已知问题,由于您在链接的讨论/问题中发现的卷曲问题,Windows上的最新版本的Octave(4.2.0)无法连接到https.该错误报告和原始帮助列表讨论总结证书问题和问题验证.它应该在下一个Octave版本中修复.

Yes, there appears to be 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 summarize the certificate issue and problem verification. It should be fixed in the next Octave release.

但是,这不会阻止您安装软件包.它仅阻止您使用该程序获取要安装的软件包.您仍然可以转到 Octave Forge软件包站点,手动下载软件包文件,然后然后按照八度手册和pkg帮助运行install命令.

This, however, does not prevent you from installing packages. It only prevents you from using the program to go fetch packages to be installed. You are still able to go to the Octave Forge package site, manually download a package file, and then as described in the Octave manual and help for pkg run the install command.

例如,您可以下载symbolic-2.4.0.tar.gz并将其保存到当前工作目录中.然后在八度范围内,从命令行发出以下命令:

E.g., you could download symbolic-2.4.0.tar.gz and save it to your current working directory. Then within octave, issue the following from the command line:

pkg install symbolic-2.4.0.tar.gz

注意:symbolic当前需要安装Python和Sympy.如果您的Windows机器上尚未安装此软件包,则软件包维护者会为Windows提供单独的自包含软件包,可以从作者的github存储库.在这种情况下,您将下载软件包并运行命令:

NOTE: symbolic currently requires Python and Sympy installed. If you don't already have this on your Windows machine, the package maintainer has a separate self-contained package for Windows that can be obtained from the author's github repository. In this case you would download the package and run the command:

pkg install symbolic-win-py-bundle-2.4.0.zip

另一个更繁琐的选择是让您从开发源中编译自己的副本,因为据说该修复程序已推送到mxe-octave存储库.

Another more tedious option would be for you to compile your own copy from development sources, as the fix has supposedly been pushed to the mxe-octave repository.

这篇关于八度-如何在Windows上安装软件包的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆