Setting Up Environment Variables - Need Help
I'm following Dave's tutorial on setting up the .env file with your sensitive information.
When I use
load_dotenv(dotenv_path)
It returns false.
While Dave's returns true in his video.
When I use
API_KEY = os.getenv("API_KEY")
PASSWORD = os.getenv("PASSWORD")
I'm still able to retrieve the values from the .env and print them in the interactive notebook, but it's bugging me why it says false.
Why is this?
4
3 comments
Nathan O'Neill
4
Setting Up Environment Variables - Need Help
Data Alchemy
skool.com/data-alchemy
Your Community to Master the Fundamentals of Working with Data and AI — by Datalumina®
Leaderboard (30-day)
powered by