Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File vectorstores/sqlitevec.py is missing from the release package #27053

Open
5 tasks done
sergey-kurshev opened this issue Oct 2, 2024 · 1 comment
Open
5 tasks done
Labels
Ɑ: vector store Related to vector store module

Comments

@sergey-kurshev
Copy link

Checked other resources

  • I added a very descriptive title to this issue.
  • I searched the LangChain documentation with the integrated search.
  • I used the GitHub search to find a similar question and didn't find it.
  • I am sure that this is a bug in LangChain rather than my code.
  • The bug is not resolved by updating to the latest stable version of LangChain (or the specific integration package).

Example Code

from langchain_community.vectorstores import SQLiteVec

Error Message and Stack Trace (if applicable)

from langchain_community.vectorstores import SQLiteVec

E ImportError: cannot import name 'SQLiteVec' from 'langchain_community.vectorstores' (/opt/miniconda3/envs/rag_env/lib/python3.11/site-packages/langchain_community/vectorstores/init.py)

Description

I installed latest langchain_community and I get import error when trying to import SQLiteVec. I downloaded and unpack package manually and i don't see vectorstores/sqlitevec.py. Probably it was not added to the packaging spec

System Info

System Information

OS: Darwin
OS Version: Darwin Kernel Version 20.6.0: Thu Jul 6 22:12:47 PDT 2023; root:xnu-7195.141.49.702.12~1/RELEASE_X86_64
Python Version: 3.11.9 | packaged by conda-forge | (main, Apr 19 2024, 18:45:13) [Clang 16.0.6 ]

Package Information

langchain_core: 0.3.7
langchain: 0.3.1
langchain_community: 0.3.1
langsmith: 0.1.129
langchain_openai: 0.2.1
langchain_text_splitters: 0.3.0
langchainhub: 0.1.21

Optional packages not installed

langgraph
langserve

Other Dependencies

aiohttp: 3.10.8
async-timeout: 4.0.3
dataclasses-json: 0.6.7
httpx: 0.27.2
jsonpatch: 1.33
numpy: 2.1.1
openai: 1.51.0
orjson: 3.10.7
packaging: 24.1
pydantic: 2.9.2
pydantic-settings: 2.5.2
PyYAML: 6.0.2
requests: 2.32.3
SQLAlchemy: 2.0.35
tenacity: 8.5.0
tiktoken: 0.7.0
types-requests: 2.32.0.20240914
typing-extensions: 4.12.2

@dosubot dosubot bot added the Ɑ: vector store Related to vector store module label Oct 2, 2024
@0x8b
Copy link

0x8b commented Oct 3, 2024

The SQLiteVec was indeed merged into the master branch after the release of version 0.3.1. Specifically:

  • Version 0.3.1 of langchain_community was released on September 25, 2024.
  • The SQLiteVec was merged into the master branch on September 26, 2024.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Ɑ: vector store Related to vector store module
Projects
None yet
Development

No branches or pull requests

2 participants