ipyfastscape icon indicating copy to clipboard operation
ipyfastscape copied to clipboard

run the ipyfastscape.TopoViz3d but get error

Open hakertop opened this issue 1 year ago • 3 comments

I want to use the code below to get a window to show 3D topography.

app = TopoViz3d(out_ds, canvas_height=600, time_dim="time") app.show()

The window is open, but one of the planes shows the error "Click to show javascript error". I got the error information after I clicked. I have a screenshot attached below. I am sure that the code could run successfully. could you tell me what happened? Thanks a lot! QXV4K1~A}(GKLXF( 3VDKXJ

hakertop avatar Jan 22 '24 22:01 hakertop

It looks like ipygany (a dependency of xarray-simlab) has not been properly installed. How did you installed ipyfastscape? Can you can show the installed versions of ipyfastscape / ipygany / jupyterlab / ipywidgets?

benbovy avatar Jan 26 '24 12:01 benbovy

Hi Bovy,

Thanks for your response!

I created a new virtual environment (mylandlab) using the Conda tool, and installed the ipyfastscape according to the installation ($ conda install ipyfastscape -c conda-forge) in Github.

The versions of different packages are attached below, and the Jupyterlab's version is 3.6.7.

All the best,

Yangen Shen

| | Yangen Shen | | @.*** | ---- Replied Message ---- | From | Benoit @.> | | Date | 1/26/2024 12:26 | | To | @.> | | Cc | @.>, @.> | | Subject | Re: [fastscape-lem/ipyfastscape] run the ipyfastscape.TopoViz3d but get error (Issue #9) |

It looks like ipygany (a dependency of xarray-simlab) has not been properly installed. How did you installed ipyfastscape? Can you can show the installed versions of ipyfastscape / ipygany / jupyterlab / ipywidgets?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

hakertop avatar Jan 26 '24 14:01 hakertop

58978883-FD0E-4E76-90D2-1A75EABF9500

hakertop avatar Jan 26 '24 15:01 hakertop