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

搞定!

相关推荐
如夏倾城19 分钟前
入侵检测系统(IDS)原理、部署模式与 IPS/防火墙对比
大数据·网络·人工智能·网络安全·云原生·架构·kubernetes
Norna25 分钟前
Git 给路径加了引号,这个文件就从 review 里消失了
python
Dawson Zhu25 分钟前
【模型量化⑤】Weight-Only INT4:AWQ与GPTQ两大算法深度解析
人工智能·语言模型·架构·aigc·agi
wuyk55537 分钟前
Python办公自动化-第04讲-批量新建Excel
开发语言·python·excel
wuyk55540 分钟前
Spider-第20讲-综合实战可上线爬虫
大数据·爬虫·python·elasticsearch
水如烟1 小时前
孤能子视角:通用智能 vs 分工协同智能群系统–––集中结晶 vs 分布式结晶
人工智能
罗西的思考1 小时前
【轻量化复现大模型 / KIMI K3】训练模块梳理 & Muon P2P 优化器
人工智能·深度学习·机器学习
lilihuigz1 小时前
权限配置:WordPress 7.2 Abilities API 权限、输入验证与 JSON 输出指南
人工智能
杨凯凡1 小时前
IT日报|2026-11-20:欧盟 AI 网络攻击、Valkey 9.2、GitHub 企业迁移
人工智能·github
JonaHu2 小时前
关键词排名突然消失?用 Python、SQLite 和 SERP API 搭一套可解释的 SEO 监控
python·sqlite·seo·serp api