Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Airflow unable to import modules from steps directory and unable to load the MLFlow model #2

Open
AjinkyaBankar opened this issue May 11, 2024 · 1 comment

Comments

@AjinkyaBankar
Copy link

This is really helpful repo. Thanks for sharing. I am trying to replicate your code from scratch. However the python files inside dag directory gives error on importing modules from steps directory. Also, they cant load the best model from MLFlow. Please suggest how to tackle this problem.

@jeremyarancio
Copy link
Owner

Hi!
Glad to know this repo helps

  • Regarding the import module, it is probably relative to the PythonPath. You need to set it up using 'export PYTHONPATH=path/to/the/repo' that you can add to the .bashrc file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants