Beginner help - running notebooks locally

Hi everyone,
I’m new to the community.
I downloaded the first notebook to run the Jupyter notebook locally

Question - should I be adding “pip install openai”?

Hi @hking

Welcome to the community.

Actually, you have o install all the packages required by every lesson.

Thank you for the reply elirod.

I am trying to recreate the notebook locally.

This is for 01_document_loading
First, I downloaded the jupyter notebook (file > download as > .ipynb)
Next, I tried running it on my browser.
However the following error happens.

cannot import name ‘load_dotenv’ from ‘dotenv’ (C:\Python310\lib\site-packages\dotenv_init_.py)

Own i got it.

The load_dotenv it is a function present on the dotenv package. it is a package responsible to save you sensitive data like API key or cloud provide service.

This topic explain some main topics on this matter:

Don’t forget that to run locally, you have to use your own API key

Thank you elirod.
Just FYI to other users who want to do this locally - also have to install ffmpeg and configure ytdl to set-up the path.

1 Like

Can someone point me to the right direction on how to resolve the code below?
what is the appropriate code for windows?
this is for 03_vectorstores_and_embeddings
thank you!

!rm -rf ./docs/chroma # remove old database files if any

error I get is
‘rm’ is not recognized as an internal or external command,
operable program or batch file.