Hi, @sgugger!
In order to go through the first code snippet like
from transformers import pipeline
classifier = pipeline("sentiment-analysis")
classifier("I've been waiting for a HuggingFace course my whole life.")

I needed to do the next things after activating the virtual environment:
pip install ipykernel
python -m ipykernel install --user --name=.env

After that I was able to choose needed virtual environment in jupyter notebook and run the code without errors.
Otherwise I’ve had only Python 3 kernel in jupyter notebook and got messages like “ModuleNotFoundError: No module named ‘transformers’” even though I went through all the setup steps and which python and pip list showed expected results (for the first I saw path to the venv python and for second I saw transformers library in the list).
Is it just me or setup chapter doesn’t cover all the steps?
P.S. I’m using Windows 10 and Python 3.8.10