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
if we just run
python models/base_models.py
, it will try tofrom test import test_models
. By default, python sets the PYTHONPATH to the directory of the main script it's running, i.e. in this casemodels
which doesn't let it find thetest
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