Skip to content

Avoid needing brew and dotenv cli just for environment loading? #2

@TimLovellSmith

Description

@TimLovellSmith

I had difficulties to install brew on WSL, so I scraped for a workaround.
Take this with a grain of salt because nothing works for me yet but...
If I understood it right, seems like the need to use brew could be eliminated if the 'dotenv' command invocation were replaced by loading environment inside the python code. (Or is there a reason that won't work?)

from dotenv import load_dotenv
# Load environment variables from .env file
load_dotenv()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions