团队,使用 Bazel 构建我的第一个应用程序并出现此错误。有什么提示吗?是否缺少文件路径或库路径?如果是,我该如何根据我的系统进行设置?bazel-out/k8-opt-exec-2B5CBBC6/bin/src/pip...
团队,使用 Bazel 构建我的第一个应用程序并出现此错误。有什么提示吗?
是否缺少文件路径或库路径?如果是,我该如何根据我的系统进行设置?
bazel-out/k8-opt-exec-2B5CBBC6/bin/src/pipelines/debugging/temporal/lib/debug_activities/mocks/mocks_mock_gomock_prog_bin_/mocks_mock_gomock_prog_bin: error while loading shared libraries: libfdb_c.so: cannot open shared object file: No such file or directory
2024/05/09 23:22:44 Loading input failed: exit status 127
分销商 ID:Ubuntu 描述:Ubuntu 20.04.2 LTSRelease:20.04 代号:focal
LD_LIBRARY_PATH = / usr/lib/x86_64-linux-gnu:/usr/lib/i386-linux-gnu:/usr/local/samu/lib:/usr/local/samu/lib64
我正在开发一个 mlagents 项目,我试图让 Python shell 在按下“播放”按钮时运行,而不是在终端中输入命令。我在 Mac 上运行,我们计划...
我正在开发一个 mlagents 项目,我试图让 Python shell 在按下播放按钮时运行,而不是在终端中输入命令。我在 Mac 上运行,我们计划将其移植到 Raspberry Pi 上。这是我目前所拥有的。它没有出错,但代理没有做任何事情。
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using UnityEngine;
public class Bootstrap : MonoBehaviour
{
public GameObject environment;
// Start is called before the first frame update
void Start()
{
var command = "/Library/Frameworks/Python.framework/Versions/3.10/bin/mlagents-learn";
var scriptFile = "/Users/brennanmoores/Documents/results/configuration.yaml";
var arguments = "";
if (FighterAgent.episode == 0) {
arguments = "--run-id=fighterTest --time-scale=1 --capture-frame-rate=0 --force";
} else {
arguments = "--run-id=fighterTest --time-scale=1 --capture-frame-rate=0 --resume";
}
ProcessStartInfo startInfo = new ProcessStartInfo {
FileName = command,
Arguments = $"{scriptFile} {arguments}",
UseShellExecute = false,
RedirectStandardOutput = true,
CreateNoWindow = false
};
using (Process process = new Process()) {
process.StartInfo = startInfo;
process.Start();
while (!process.StandardOutput.EndOfStream) {
string output = process.StandardOutput.ReadLine();
UnityEngine.Debug.Log(output);
}
}
var env = Instantiate(environment, new Vector2(0, 0), Quaternion.identity);
var processes = Process.GetProcesses();
foreach (var p in processes) {
try {
if (p.ProcessName == "Python") {
UnityEngine.Debug.Log(p.ProcessName);
}
} catch {
}
}
}
// Update is called once per frame
void Update()
{
}
}
我尝试移动一些命令,包括删除 WaitforExit()
和修改火目录,但 AI 仍然一动不动。