Open mbelletti opened 4 years ago
I have the same error but not any additional text on the console. I followed these steps in the installation:
Then i just launch the jupyter lab and enable the extensions via extension manager additionally on the left pane.
If I start and run the example code '(earthquake heat map) via jupyter notebook I get the following but no maps:
Figure(layout=FigureLayout(height='420px'))
Greetings,
I do have exatly the same error.
Jupytar-lab 2.2.6 here
installed de package as it is explained in installation page:
" JupyterLab v2.2.6 Known labextensions: app dir: C:\ProgramData\Anaconda3\share\jupyter\lab @jupyter-widgets/jupyterlab-manager v2.0.0 enabled ok jupyter-gmaps v0.9.0 enabled ok "
in console window I have the issue "Figure(layout=FigureLayout(height='420px'))" when running the fig command.
thank you.
I get the same error today: Error displaying widget: model not found in JupyterLab .. I created a new environment in Anaconda and followed the instructions for installing gmaps for JupyterLab.
FWIW, the same notebook works fine in jupyter and the map is displayed correctly.
what could be the problem?
@PeterSanctus Hi Peter, I am having the same issue, did you manage to find a solution? Thanks!
@walidsi
I got the same error after i updated the version of jupyter lab to 3.0.14, changing the version to the older version fixed the error for now. but i still wanna know how to fix the error on the last version, steps that I did:
updating all the packages, updating conda, and trying this command line: jupyter labextension install @jupyter-widgets/jupyterlab-manager
none of the above steps helped.
@RehamFarhat Thanks Reham. I finally found the solution to get gmaps to work on Jupyterlab 3.x. It is to uninstall the latest version of ipywidgets, then install version 7.4.2 of it, and finally perform a jupyter lab build.
pip install ipywidgets==7.4.2
Everything is working now as expected!
@walidsi ' didn't work for me, I tried what u suggest for the two versions: 3.0.14 and 3.0.11..
@walidsi Your method worked for me! Kudos <3 I had to install ipywidgets 7.5.1 though, 7.4.2 caused a conflict in my case. Also the un-installation of ipywidgets causes some other packages to be removed including gmaps, so everything has to be reinstalled afterwards but it finally works fine.
Hi all, I am finding myself in the same predicament as the rest of you. Currently everything is installed and listed as running on gitbash. I currently have ipywidgets at 7.7.1, gmaps at 0.8.3 (yes, I know we are 0.9.0). I've done different combinations and permutations of versions of widgets and gmaps with no success.
My Anaconda is updated to 4.13.0 running Python 3.8. At this time, I can only assume that I need to downgrade my jupyter lab? I am hoping that someone here has a working version pairing I can be directed to that will make all this work.
Hi, after updating jupyter & co. I'm not able anymore to show the map, I got instead: Error displaying widget: model not found
In the console there is this error:
Unhandled Promise Rejection: Error: Module jupyter-gmaps, semver range 0.9.0 is not registered as a widget module
Is there something that I can do to fix it?
Thank you