Issue
I'm running a ipynb notebook in VS Code with the Jupyter extensions from Windows. I have the standalone Python installer (not Anaconda) version 3.10.11 and I created a virtual environment to work in. For every cell I run I get:
Error in callback <function _set_css_in_cell_output at 0x0000019337122170> (for pre_run_cell):
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
TypeError: _set_css_in_cell_output() takes 0 positional arguments but 1 was given
but the cell actually runs and gives me the output it is supposed to. The code was developed by one of my colleagues who is running it in Jupyter notebook for Conda and she does not have this issue. It is using the packages from Google Earth Engine.
The problem is not major clearly since the code ultimately works, but is a bit annoying to get errors in every cell, so I would like to understand what the issue is.
Solution
This sounds like a case of this bug: _set_css_in_cell_output error #1811, which got fixed by this Pull Request: Fix set css cell output error #1819, which is part of the v0.29.5 release. Try updating to a version of geemap that is at or greater than that release.
Answered By - starball
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.