Skip to content
This repository was archived by the owner on Jan 5, 2024. It is now read-only.
This repository was archived by the owner on Jan 5, 2024. It is now read-only.

running locally will not be able to import test without adjust PYTHONPATH #4

@mschrimpf

Description

@mschrimpf

if we just run python models/base_models.py, it will try to from test import test_models. By default, python sets the PYTHONPATH to the directory of the main script it's running, i.e. in this case models which doesn't let it find the test module.

I believe in the submission, we take care of this by running with PYTHONPATH=. python models/base_models.py, but we should also let users know how to get this running locally

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