centos 安装AI 向量数据库 chroma

官网

1 官网地址:https://docs.trychroma.com/getting-started
2 推荐一个gpt AI工具:态灵AI: chatai.taigoodai.com
3 推荐一个AI本地笔记软件:知周笔记: knownnote.com

步骤

有两种方式:1,通过pip install ; 2 运行docker。
本教程通过pip install 方式:

pip3 install chromadb

报错:
Failed to build chroma-hnswlib
ERROR: Could not build wheels for chroma-hnswlib, which is required to install pyproject.toml-based projects

官网mac、linux、windows解决方案:https://docs.trychroma.com/troubleshooting。然而我按照步骤并未解决我的问题。

通过以下方式解决:

conda install -c conda-forge chromadb

写一个python测试程序 chromatest.py

import chromadb
chroma_client = chromadb.Client()

pip3 chromatest.py 运行报错:
ImportError: zstd C API versions mismatch; Python bindings were not compiled/linked against expected zstd version (10505 returned by the lib, 10502 hardcoded in zstd headers, 10502 hardcoded in the cext)

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 2
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值