Going through the DeepLearning Modules


My name is Jack and I literally just joined this community a few minutes ago. So if I’m posting in the wrong place, I apologize.

I’ve gone through all the “ChatGPT Prompt Engineering for Developers” modules strictly as a listener. Now I want to type the code they are typing to get a better understanding of how prompts are structured. My knowledge of writing Python code is a hair above zero.

In the Guidelines module I’m getting the error code:
“ModuleNotFoundError: No module named ‘dotenv’”

in response to

“from dotenv import load_dotenv, find_dotenv”

I know what Module not found means but when I go to import or install dotenv, I get error messages. Any and all comments appreciated!

In time I hope to be a regular contributor these pages.



You can use the “pencil” icon in the thread title to move it to the Forum area for the correct course.

Regarding python - I recommend you take a tutorial course (there are many online for free) before you continue very far in machine learning. It’s a fundamental tool, and all the non-trivial courses assume you already understand its basics.

1 Like

Thank you! I will move the thread. I have taken some very basic AIML courses but that was a couple of years ago. I will brush up on my Python.

But I would have thought loading the dotenv module would be pretty straight forward.

@Jack63, you should be able to run the code directly in the panel to the left of the video, without needing to make any changes to the code.

The first cell you need to run looks like this:

It should work to just put your cursor in the cell and hold down the shift key while pressing return. If your cell doesn’t look like the above, it’s possible you accidentally edited something in the cell, and you can try reloading it.

Thank you @Wendy Maybe the mistake I was making was cutting and pasting the code into Jupiter Notebooks and Google Colab. As I said, I have very little experience with this.

I’ll do as you suggest.