aws-samples / aws-samples/rds-postgresql-pgvector

code fix in the file rdspg-vector.ipynb

Open
#10 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
40
Forks
11
PR merge metrics
No merged PRs in 30d

Description

Simple code fix. In the file rdspg-vector.ipynb is this line to install prereqs:

!pip install -U psycopg2-binary pgvector tqdm boto3 requests

It should actually be:

!pip install -U psycopg2-binary pgvector tqdm boto3 requests scikit-image

Otherwise the code block near the end that performs the similarity search errors out on the line:

from skimage import io

stating "no such module" for skimage.

Contributor guide

Open the contributing guide

Research direction

Open rdspg-vector.ipynb and inspect the prerequisite-install cell and the similarity-search block near the end. Run the notebook or at least the relevant cells to reproduce the missing skimage import, then verify that the dependency setup supports that import without errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
jupyter-notebook, python
Domain
databases
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.