https://kedro.org/ logo
#questions
Title
# questions
k

Khangjrakpam Arjun

11/14/2023, 11:44 AM
Hi Guys, I have set up project repo with kedro on amazon sagemaker. I ran the command kedro viz on the terminal in jupyter labs and below is what I get . Is there a way where I can see kedro viz plot on the browser while invoking the kedro viz command on amazon sagemaker terminal?
in a notebook
👍 1
you may also want to look at the new deploy to s3 functionality https://docs.kedro.org/en/latest/visualisation/share_kedro_viz.html#
k

Khangjrakpam Arjun

11/14/2023, 11:49 AM
Thanks! @datajoely. Will try this
Hi @datajoely, I am getting an error "%init_kedro" not found as shown below:
could you suggest how to resolve this?
Even though the run_viz line magic command has been registered successfully, the Kedro viz image is not being loaded
n

Nok Lam Chan

11/14/2023, 1:21 PM
I think the linked doc is a bit outdated. We are at 0.18.14 now and init_kedro was deprecated for a while.
What version of kedro are you using? The run viz magic should give you an URL to open in browser instead of rendering the app in notebook (this is the old behaviour which has been changed for 1 year at least)
k

Khangjrakpam Arjun

11/14/2023, 3:18 PM
@Nok Lam Chan the kedro version I have is v0.18.12
Ok let me reinstall kedro with the latest version
n

Nero Okwa

11/29/2023, 12:07 PM
@Khangjrakpam Arjun here's the updated doc for the new deploy to s3 functionality: https://docs.kedro.org/projects/kedro-viz/en/latest/share_kedro_viz.html
a

Artur Dobrogowski

01/15/2024, 4:01 PM
Hmm I think I'm facing the same issue
The
%run_viz
magic redirects to my local machine's port 4141 instead of being a proxy for the server I'm connecting to via AWS Session connect.
9 Views