Skip to content

"Unable to import module" after deployment #49

@mrgoos

Description

@mrgoos

Hi,
Sometimes we get this error after deployment which means that the requirements weren't installed correctly.
When we redeploy, it usually resolves.
We have only 1 requirements file in the root which is requirements.txt and yet in yml we have this:

    requirementsFile: 'requirements.txt'
    globalRequirements:
      - ./requirements.txt

Now, I read that these configs are optional so maybe putting them is causing some issues?
My next step would be to remove these lines but since it's inconsistent, I wonder if anyone got that as well.

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions