MicrosoftLearning / mslearn-openai

https://microsoftlearning.github.io/mslearn-openai/
MIT License
214 stars 325 forks source link

Cannot run python without python-dotenv #51

Closed infhyroyage closed 7 months ago

infhyroyage commented 7 months ago

Module: 02-03-04-05-06

Lab/Demo: 02-03-04-05-06

Description of issue

All python imports python-dotenv:

from dotenv import load_dotenv

but throw ModuleNotFoundError: No module named 'dotenv' if not install python-dotenv in advance.

ivorb commented 7 months ago

@infhyroyage are you running this on your machine, or on the hosted VM? I just did lab 2 as written, and it seemed to work fine on the hosted VM

infhyroyage commented 7 months ago

@ivorb Via ms-learn's Lab environment, but it seems to be installed python-dotenv recently😯 When I used this Lab at 6 days ago, it was not installed.

ivorb commented 7 months ago

Glad it's working for you!