---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
Cell In[1], line 2
1 import ee
----> 2 import geemap
File /opt/conda/lib/python3.10/site-packages/geemap/__init__.py:55
51 else:
52 print(
53 "Please restart Jupyter kernel after installation if you encounter any errors when importing geemap."
54 )
---> 55 raise e
57 if _use_eerepr():
58 import eerepr
File /opt/conda/lib/python3.10/site-packages/geemap/__init__.py:45
43 else:
44 try:
---> 45 from .geemap import *
46 except Exception as e:
47 if in_colab_shell():
File /opt/conda/lib/python3.10/site-packages/geemap/geemap.py:28
26 from .basemaps import get_xyz_dict, xyz_to_leaflet
27 from .common import *
---> 28 from .conversion import *
29 from .ee_tile_layers import *
30 from . import core
File /opt/conda/lib/python3.10/site-packages/geemap/conversion.py:23
20 from collections import deque
21 from pathlib import Path
---> 23 import pkg_resources
25 from .common import *
28 def find_matching_bracket(lines, start_line_index, start_char_index, matching_char="{"):
File /opt/conda/lib/python3.10/site-packages/pkg_resources/__init__.py:90
88 import packaging.utils
89 import packaging.version
---> 90 from jaraco.text import drop_comment, join_continuation, yield_lines
91 from platformdirs import user_cache_dir as _user_cache_dir
93 if TYPE_CHECKING:
File /opt/conda/lib/python3.10/site-packages/setuptools/_vendor/jaraco/text/__init__.py:12
9 from importlib_resources import files # type: ignore
11 from jaraco.functools import compose, method_cache
---> 12 from jaraco.context import ExceptionTrap
15 def substitution(old, new):
16 """
17 Return a function that will perform a substitution on a string
18 """
File /opt/conda/lib/python3.10/site-packages/setuptools/_vendor/jaraco/context.py:17
13 from typing import Iterator
16 if sys.version_info < (3, 12):
---> 17 from backports import tarfile
18 else:
19 import tarfile
ImportError: cannot import name 'tarfile' from 'backports' (/opt/conda/lib/python3.10/site-packages/backports/__init__.py)