diff --git a/python/sedona/spark/__init__.py b/python/sedona/spark/__init__.py index 4a073d837e..73c4b2d4a4 100644 --- a/python/sedona/spark/__init__.py +++ b/python/sedona/spark/__init__.py @@ -41,3 +41,11 @@ from sedona.register import SedonaRegistrator from sedona.spark.SedonaContext import SedonaContext from sedona.raster_utils.SedonaUtils import SedonaUtils +try: + from sedona.maps.SedonaKepler import SedonaKepler +except: + print('Skipping SedonaKepler import, verify if keplergl is installed') +try: + from sedona.maps.SedonaPyDeck import SedonaPyDeck +except: + print('Skipping SedonaPyDeck import, verify if pydeck is installed') diff --git a/python/tests/maps/test_sedonapydeck.py b/python/tests/maps/test_sedonapydeck.py index 2d45ecf513..e7d7c0fd33 100644 --- a/python/tests/maps/test_sedonapydeck.py +++ b/python/tests/maps/test_sedonapydeck.py @@ -15,7 +15,6 @@ # specific language governing permissions and limitations # under the License. - from sedona.maps.SedonaPyDeck import SedonaPyDeck from tests.test_base import TestBase from tests import google_buildings_input_location