Getting, "from helper_functions import print_llm_respLonse" in the Building LLM Prompts module

I do not have a notebook.
I am doing this entirely browser based (Edge) w/no downloads of any kind
I’m taking the AI Python for Beginners: Basics of AI Python Coding class.
I am in the Building LLM prompts with variables (lab 9)
I’m trying to run the first command:
“from helper_functions import print_llm_respLonse”

The error I’m getting is:

ImportError Traceback (most recent call last)
Cell In[8], line 1
----> 1 from helper_functions import print_llm_respLonse

ImportError: cannot import name ‘print_llm_respLonse’ from ‘helper_functions’ (/home/jovyan/work/L9/helper_functions.py)

I know that the tutorial is looking for a file / library it cannot find, but I don’t know where to get it or how to import it.

I have since downloaded Python Python 3.12.9 (2/4/2025), and just downloaded Anaconda. I still don’t know what to do to find the missing library(ies).

SOS

Thanks, everyone. Your help is very much appreciated.

Running the notebooks in your own environment is not recommended for beginners.

I stalled Python locally on my computer and that seemed to have fixed the issue.

1 Like