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

Noisy warnings on optional imports #1222

Closed
guilhem-dvr opened this issue Jan 31, 2024 · 0 comments · Fixed by #1229
Closed

Noisy warnings on optional imports #1222

guilhem-dvr opened this issue Jan 31, 2024 · 0 comments · Fixed by #1229

Comments

@guilhem-dvr
Copy link
Contributor

Expected behavior

I want to use Sedona as is in my spark cluster, without any optional dependencies:

from sedona.spark import SedonaContext

...

spark_session = SedonaContext.create(spark_session)

Actual behavior

Simply importing from sedona.spark:

from sedona.spark import SedonaContext

prints out two import warning:

Skipping SedonaKepler import, verify if keplergl is installed
Skipping SedonaPyDeck import, verify if pydeck is installed

Steps to reproduce the problem

Install sedona and import from sedona.spark

Settings

Sedona version = 1.5.1

API type = Python

Python version = Any (I use 3.10.12)

Environment = Standalone

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants