hermes agent安装在Linux centos中

遇到问题:

由于国内的网站访问不到github网站,所以需要换镜像源,即使我开了魔法也是一样的不清楚出了什么问题

最终解决方法:

首先我使用的Linux centos7进行安装,我在我的虚拟机中安装了miniconda 这个可以进行创建对应的python=3.11的包,同时安装node.js ,原因如下:

安装Hermes Agent前需要有如下环境:

  • Python (>=3.11): Agent 逻辑运行的基础环境。
  • Node.js (>=22): 主要用于支撑浏览器自动化(Playwright)和 WhatsApp 桥接等高级功能。
  • Git: 用于版本控制和一键安装脚本的拉取。
  • 系统工具:ripgrep / ffmpeg(非硬性依赖,缺失时会提示手动安装)

安装了miniconda以后可以创建一个虚拟环境

复制代码
conda create -n hermes python=3.11

2.安装node.js工具

访问官网:Node.js --- Download Node.js®

安装LTS

bash 复制代码
# Download and install nvm:
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.4/install.sh | bash

# in lieu of restarting the shell
\. "$HOME/.nvm/nvm.sh"

# Download and install Node.js:
nvm install 22

# Verify the Node.js version:
node -v # Should print "v22.22.3".

# Verify npm version:
npm -v # Should print "10.9.8".

3.使用国内的镜像源

bash 复制代码
# 使用 GitCode 镜像(稳定推荐)
git clone https://gitcode.com/GitHub_Trending/he/hermes-agent.git ~/.hermes/hermes-agent

# 或使用 Gitee 镜像(备选)
git clone https://gitee.com/mirrors/hermes-agent.git ~/.hermes/hermes-agent

我使用第一个

4.安装

bash 复制代码
cd ~/.hermes/hermes-agent && bash scripts/install.sh

5.Linux警告内容:

  • 警告内容Playwright does not support automatic dependency installation on RPM-based systems.(Playwright 不支持在基于 RPM 的系统上自动安装依赖。)

解决方案:

bash 复制代码
sudo dnf install nss atk at-spi2-core cups-libs libdrm libxkbcommon mesa-libgbm pango cairo alsa-lib

安装成功以后是这样的让你配置模型

相关推荐
Wang's Blog3 小时前
Java 接入Redis: 服务启动停止与后台运行配置
java·服务器·redis
云运维笔记4 小时前
IP地址从入门到精通:网络通信的核心基石
运维·网络·计算机网络
bosins5 小时前
WSL2 启动即崩溃?调整超时参数解决 Docker 阻塞问题
linux·docker·wsl
web守墓人5 小时前
【goed/ui】自定义组件设计思想篇
linux·windows·ui·golang
码农学院5 小时前
企业官网改版后 AI 引用归零的复盘:301 重定向断层让爬虫索引掉线,修复方案与恢复数据
运维·geo优化·ai优化aio
kuroomi6 小时前
Ingress-Nginx与kubernetes 网络
linux·运维·网络·kubernetes
当下新鲜事6 小时前
空调机房冷冻泵与冷却泵技术分析:赛莱默B&G背包式智能变频管道泵的工程应用
运维·物联网·业界资讯
EasyGBS6 小时前
终结训推割裂!EasyGBS×EasyAIS×DLTM,实现AI算法训推一体闭环落地!
服务器·深度学习·安全
daemon.qiang6 小时前
国内虚拟机对接 Freedesktop:Fork xserver、自建 Runner 与提交 MR 实战
linux·ubuntu·centos·gitlab·开源软件
Doris__HE7 小时前
【元脑服务器NF5476G7-NF5476M7技术规格分享】
运维·服务器·网络·数据库·性能优化