PromptCraft-Robotics部署步骤和问题记录

GitHub - microsoft/PromptCraft-Robotics: Community for applying LLMs to robotics and a robot simulator with ChatGPT integration

部署环境:UE4.27

Visual Studio 2022

Arisim1.8.1

可参考:git clone https://github.com/Microsoft/AirSim.git

https://microsoft.github.io/AirSim/build_windows/#build-airsim

http://t.csdnimg.cn/eCSeJ

点击运行,会让你选择是否用小车作为目标使用,选择否就是无人机。

Build AirSim#

  • Install Visual Studio 2022. Make sure to select Desktop Development with C++ and Windows 10 SDK 10.0.19041 (should be selected by default) and select the latest .NET Framework SDK under the 'Individual Components' tab while installing VS 2022.

  • Start Developer Command Prompt for VS 2022.

  • Clone the repo: git clone https://github.com/Microsoft/AirSim.git, and go the AirSim directory by cd AirSim.

    Note: It's generally not a good idea to install AirSim in C drive. This can cause scripts to fail, and requires running VS in Admin mode. Instead clone in a different drive such as D or E.

  • Run build.cmd from the command line. This will create ready to use plugin bits in the Unreal\Plugins folder that can be dropped into any Unreal project.

注意点:安装airsim需要安装numpy和msgpack-python

然后是安装PromptCraft-Robotics 需要安装openai==0.28,版本得是这个0.28

之后可能汇报下面的错误

openai.error.APIConnectionError: Error communicating with OpenAI: HTTPSConnectionPool(host='api.openai.com', port=443): Max retries exceeded with url: /v1/chat/completions (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:997)')))

这个问题很好解决,看了Github上面大佬的回复以及csdn找到了解决办法:

首先用 pip install urllib3==1.25.11命令换回旧版urllib,然后把你的代理调成全局模式,推荐Clash for windows 开TUN模式和系统代理两个,然后选延迟低的节点

搞定!

相关推荐
财经资讯数据_灵砚智能4 分钟前
基于全球经济类多源新闻的NLP情感分析与数据可视化(日间)2026年4月5日
大数据·人工智能·python·信息可视化·自然语言处理·ai编程
luom01029 分钟前
诊疗室技术文章大纲
python·beautifulsoup·tornado·dash
hui-梦苑11 分钟前
[GROMACS]模拟数据分析前轨迹文件生成-轨迹预处理
人工智能·算法·数据分析
龙文浩_12 分钟前
AI深度学习/PyTorch/神经网络相关
人工智能·pytorch·深度学习
飞翔的SA14 分钟前
MLX‑VLM :Mac本地跑通多模态大模型的开源项目!让图片、音频、视频理解一键上手
人工智能·python·macos·音视频
王忘杰17 分钟前
Claude Code 通过 CC Switch 使用OpenRoute免费模型和国产大模型 qwen/qwen3.6-plus:free
人工智能
Jp7gnUWcI19 分钟前
AI Compose Commit:用 AI 智能重构 Git 提交工作流
人工智能·git·重构
G皮T23 分钟前
【OpenClaw】思路转变:从 “传统UI测试” 到 “AI驱动的UI测试”
自动化测试·人工智能·ai·agent·测试·ui测试·openclaw
lijianhua_97129 小时前
国内某顶级大学内部用的ai自动生成论文的提示词
人工智能
蔡俊锋9 小时前
用AI实现乐高式大型可插拔系统的技术方案
人工智能·ai工程·ai原子能力·ai乐高工程