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模式和系统代理两个,然后选延迟低的节点

搞定!

相关推荐
12点一刻19 分钟前
Superpowers — AI 驱动的软件工程方法论框架
人工智能·软件工程
EasyCVR19 分钟前
国标GB28181视频监控平台EasyCVR行业解决方案深度解读——雪亮工程、智慧城市与智慧交通
人工智能·音视频·智慧城市
论文小助手W68522 分钟前
【ACM出版,EI检索】2026年人工智能与智慧城市国际学术会议(IC-AISC 2026)
大数据·人工智能·全文检索·智慧城市·交通物流
火山引擎开发者社区31 分钟前
您的岗位情报官上线,ArkClaw「每日情报助手」带您吃透全行业
人工智能
田里的水稻1 小时前
OE_ubuntu26.04与宿主机之间复制粘贴内容
人工智能·python·机器人
Deepoch1 小时前
Deepoc VLA开发板:无人机复杂环境自主感知与决策系统
人工智能·无人机·开发板·具身模型·deepoc
2401_876964131 小时前
【湖北专升本】2026湖北专升本真题PDF+备考资料汇总
数据结构·人工智能·经验分享·深度学习·算法·计算机视觉
冬奇Lab1 小时前
Agent系列(八):上下文工程——让每个 Token 都用在刀刃上
人工智能·agent
饼干哥哥1 小时前
罗福莉说的“伪多Agent”,我试了OmniWork后发现,真全干专家长这样
人工智能
jiayong232 小时前
02 创建虚拟环境
python