Issue following tutorials

I just joined and am trying to follow along with some of the very basic tutorials, but very few of them seem to work for me. I’m sure it’s something I’m doing, but I really don’t know how to troubleshoot. For example, I am trying to following along with the IMDB text classification tutorial. I have this for code:

from datasets import load_dataset
imdb = load_dataset(“imdb”)
imdb[“test”][0]

and instead of seeing output, I see this:

NotOpenSSLWarning: urllib3 v2 only supports OpenSSL 1.1.1+, currently the ‘ssl’ module is compiled with ‘LibreSSL 2.8.3’. See: urllib3>=2.0 does not work with system Python on macOS · Issue #3020 · urllib3/urllib3 · GitHub
warnings.warn(

the tutorial that asks me to run this line of code to ensure HF is installed successfully:

python -c “from transformers import pipeline; print(pipeline(‘sentiment-analysis’)(‘we love you’))”

that outputs correctly. Any ideas?