-
Notifications
You must be signed in to change notification settings - Fork 435
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
[BUG] Examples directory contains absolute imports which do not work and relative imports also dont work with current zenml git logic #55
Comments
@SaraKingGH Two answers to this. First case: The import problemIn the first instance, could you tell us which context you executed the script in? To make it work 'as is', you should run it within the git clone https://github.com/maiot-io/zenml.git Before continuing, either install the zenml pip package or install it from the cloned repo. Then:
This is working for me personally, and looking at your screenshot also seems to be what you're doing. Not sure why you had to resolve from Second case: The Ref
|
@SaraKingGH Update: After further investigation, my above diagnosis seems flawed.You were indeed correct to point out that changing from |
sounds great Tahir, thanks for letting me know.:) |
Describe the bug
I tried to run the scikit demo from example folder. first it gave the "No module named 'examples'".
Then I change this line
from examples.scikit.step.trainer import MyScikitTrainer in run.py to from step.trainer import MyScikitTrainer to fix the problem and now its giving this error:
Screenshots
it attached
** Context (please complete the following information):**
OS: Mac
Python Version: 3.7.4
ZenML Version: cloned from the git
The text was updated successfully, but these errors were encountered: