aws-samples / amazon-bedrock-workshop

This is a workshop designed for Amazon Bedrock a foundational model service.
https://catalog.us-east-1.prod.workshops.aws/workshops/a4bdb007-5600-4368-81c5-ff5b4154f518/en-US/20-intro
MIT No Attribution
1.42k stars 607 forks source link

No matching distribution for packages throughout Setup script #199

Open cnmoise opened 7 months ago

cnmoise commented 7 months ago

I got confused because the guide asked for "Sagemaker Studio" but the right options were not present, it seems to have been recently renamed to "Sagemaker Classic"

We should update it to prevent confusion

During the setup I found the following errors:

No matching distribution found for matplotlib==3.8.2

I had to remove the version number

%pip install  \
    "langchain>=0.0.350" \
    "transformers>=4.24,<5" \
    sqlalchemy -U \
    "faiss-cpu>=1.7,<2" \
    "pypdf>=3.8,<4" \
    pinecone-client==2.2.4 \
    apache-beam==2.52. \
    tiktoken==0.5.2 \
    "ipywidgets>=7,<8" \
    matplotlib \
    anthropic==0.9.0

similarly I had to remove the version number for: ERROR: No matching distribution found for numexpr==2.8.8

Also pysqlite3 just flat out could not be installed, please see bellow:

I saw somewhere online that its just supposed to be included?? So I tried to just comment it out and see if the lab would work... image

I will update this ticket after I complete all of the lab sections

I would be happy to provide updates to this code, it would look good for my internal contributions @ Amazon

cnmoise commented 7 months ago

Follow Up note, I have tried this guide using Data Science 3 and none of the before mentioned problems occur

I recommend others do the same and not follow the guides recommendation to use DS2

I will see if I can get the instructions to reflect this

w601sxs commented 4 months ago

@cnmoise we made a few updates and are testing the notebooks manually on a regular cadence. Is this still a problem?