This message was deleted.
# ask-anything
s
This message was deleted.
b
this likely has nothing to do with ploomber. Are you sure you're using the same kernel?
n
yes ..
b
after installing jupyter hub
what exactly do you mean by this? Jupyterhub is likely not running on your local machine, so would be a different environment than running from "jupyter notebook"
n
i have jupyter hub running on AWS
earlier it was running, somehow i deployed the same on different VM and now it fails
b
sorry, I'm not sure. I'd just try re-installing ploomber, checking your
PATH
and
PYTHONPATH
, etc.
🙌 1
i
@Nikhil Reddy it’s possible you installed it, shut down/restarted the machine? AWS usually have a startup script it runs on your machine on boot. If the ploomber installation isn’t there the machine won’t recognize it. We’ll create a video soon on how to bootstrap Sagemaker (Which is the one you’re using I assume?)
n
i have installed all the required libraries and am able to execute the notebooks individually
when building the pipeline , they fail saying no module found
e
looks like the Python env running in your notebook and then one where ploomber is running is not the same. can you run this?
Copy code
!  python -c 'import sys;print(sys.executable)'
and in a Python cell:
Copy code
import sys
print(sys.executable)
btw, you can also use the Python API to build your pipeline, it has nicer output:
Copy code
from ploomber.spec import DAGSpec

dag = DAGSpec('path/to/pipeline.yaml').to_dag()

dag.build(force=True)
n
thanks for your help, i have started using python API
my observation, despite passing the parameter show_progress=True i do not see the progress bar
e
are you using the parallel executor? I saw a problem when printing progress I see you're using the
debug=later
, awesome! let me know what you think
I added a progres bar in the parallel executor, it'll be out in the next release 🙂
n
yup am using parallel executer.