Skip to content

Errors Encountered Following ReadMe #11

Description

@ttuvera1125

For context, I am new at anything tech/coding-related. I tried to follow your ReadMe instructions but I kept on encountering errors:

  1. On Step 2 Create Collections, it kept on returning an error message that showed the username, password, and host were not given even though I already added that to the .env file. What I did was I added an import os, from dotenv import load_dotenv, and load_dotenv() lines on the cli/admin.py file and it worked. -> Was what I did wrong? How should I have addressed the issues instead?

  2. On Step 3 Launching the API, when I run uvicorn src.whyhow_api.main:app I get this error:
    image (1)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions