标题: ERROR: Could not find a version that satisfies the requirement langchain_chroma [打印本页] 作者: TMy_专属你的t 时间: 昨天 22:24 标题: ERROR: Could not find a version that satisfies the requirement langchain_chroma 作者:CSDN博客
0. 简介
python 安装包出现问题:
L$ pip install langchain_chroma
Looking in indexes: https://mirror.baidu.com/pypi/simple/, http://mirrors.aliyun.com/pypi/simple/
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("SOCKSHTTPConnectionPool(host='mirrors.aliyun.com', port=80): Read timed out. (read timeout=120.0)")': /pypi/simple/langchain-chroma/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("SOCKSHTTPConnectionPool(host='mirrors.aliyun.com', port=80): Read timed out. (read timeout=120.0)")': /pypi/simple/langchain-chroma/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("SOCKSHTTPConnectionPool(host='mirrors.aliyun.com', port=80): Read timed out. (read timeout=120.0)")': /pypi/simple/langchain-chroma/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("SOCKSHTTPConnectionPool(host='mirrors.aliyun.com', port=80): Read timed out. (read timeout=120.0)")': /pypi/simple/langchain-chroma/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("SOCKSHTTPConnectionPool(host='mirrors.aliyun.com', port=80): Read timed out. (read timeout=120.0)")': /pypi/simple/langchain-chroma/
ERROR: Could not find a version that satisfies the requirement langchain_chroma (from versions: none)
ERROR: No matching distribution found for langchain_chroma
复制代码
参考:
解决pip安装出现Could not find a version that satisfies the requirement XXX (from versions: none) 问题解决 pip ERROR: Could not install packages due to an OSError: Missing dependencies for SOCKS support.
1. 解决
然后依然没有解决问题,因为在 Anaconda 环境中所以
$ conda install chromadb langchain-chroma
Channels:
- defaults
- anaconda
Platform: linux-64
Collecting package metadata (repodata.json): done
Solving environment: done# All requested packages already installed.
复制代码
然后检查
$ pip show chromadb langchain-chroma
Name: chromadb
Version: 0.5.17
Summary: Chroma.
Home-page: https://github.com/chroma-core/chroma
Author:
Author-email: Jeff Huber <jeff@trychroma.com>, Anton Troynikov <anton@trychroma.com>
pip._vendor.urllib3.exceptions.MaxRetryError: SOCKSHTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /pypi (Caused by NewConnectionError('<pip._vendor.urllib3.contrib.socks.SOCKSHTTPSConnection object at 0x7f4fb6317df0>: Failed to establish a new connection: [Errno 111] Connection refused'))