传入无效位置,必须给出绝对路径?
我正在尝试为Redhawk运行python沙箱示例(https://redhawksdr.github.io/Documentation/mainch3.html#x5-270003.3)。我可以从/usr/local/redhawk/ide/2.1.2文件夹(./eclipse)启动REDHAWK IDE。但是,当我运行以下命令时,我收到一个错误: >>> sb.IDELocation("/usr/local/redhawk/ide/2.1.2/eclipse") IDELocation(): ERROR - invalid location passed in, must give absolute path /usr/local/redhawk/ide/2.1.2/eclipse 如果我忽略这个“IDELocation():ERROR”,我通过执行Plot()命令有以下问题: >>> sb.IDELocation("/usr/local/redhawk/ide/2.1.2/eclipse") IDELocation(): ERROR - invalid location passed in, must give absolute path /usr/local/redhawk/ide/2.1.2/eclipse >>> plot = sb.Plot() Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/local/redhawk/core/lib/python/ossie/utils/sb/io_helpers.py", line 1985, …