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

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

相关推荐
cjp5601 小时前
001.Web Api_服务器,新建api
运维·服务器
赵民勇1 小时前
如何查看一个二进制程序是否设置了rpath或runpath?
linux·c++
小王师傅661 小时前
深入解析:Docker在Mac上的运行本质与Linux进程管理机制
linux·macos·docker
ai_xiaogui1 小时前
PanelAI应用市场跑通!一键部署容器 + 服务器迁移宝塔面板安装全记录
服务器·宝塔面板安装教程2026·服务器重装系统迁移·panelai应用市场·轻量服务器优化swap·ai项目一键部署·panelai部署容器
Irissgwe1 小时前
9、数据链路层
linux·网络·mac·ip·数据链路层·arp协议·以太网帧格式
lwprain1 小时前
Umi-ocr2.1.5的linux部署,仅做记录
linux·服务器·umi-ocr
鹏大师运维2 小时前
统信UOS安装Subtitle Edit并使用Edge-TTS生成AI语音教程
linux·前端·人工智能·edge·麒麟·统信uos·ai语音
cjp5602 小时前
002.WEB API 服务器 RESTful规范
服务器
syagain_zsx2 小时前
Linux进程全面解析:从基础到高级管理(1/3)
linux