Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

leafmap on deepnote causes exception: "field() got an unexpected keyword argument 'alias'" #751

Closed
nrchtct opened this issue Jun 10, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@nrchtct
Copy link

nrchtct commented Jun 10, 2024

Environment Information

Description

I am trying to work with leafmap in Jupyter Notebooks on Deepnote.com and I am having trouble getting leafmap to be properly imported.

What I Did

!pip install leafmap
import leafmap

Without getting to any mapping fun, the output is the following:

Exception: field() got an unexpected keyword argument 'alias'

Any pointers or suggestions are appreciated. Thank you!

@nrchtct nrchtct added the bug Something isn't working label Jun 10, 2024
@giswqs
Copy link
Member

giswqs commented Jun 10, 2024

I am not familar with deepnote, but I noticed some errors at the end of the installation. That's probably related to the restricted environment on deepnote.
image

I tested it on Google Colab, and it works fine.
image

@nrchtct
Copy link
Author

nrchtct commented Jun 11, 2024

thank you! yes, it is working on colab just fine - i am trying to get it work on deepnote. probably has something to do with attrs & jsonschema…

@giswqs
Copy link
Member

giswqs commented Jun 16, 2024

It seems ipywidget is not well supported no deepnote. It can't render ipyleaflet maps. The issue needs to be resolved by deepnote. Closing this issue for now.

Relevant issues:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants