You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Import libraries step in the Sam2 point prompts module ( import leafmap from samgeo import SamGeo2, regularize) keeps getting the following error: ImportError: Dll load failed while importing version: The specified program could not be found.
What I Did
import leafmap
from samgeo import SamGeo2, regularize
Output exceeds the [size limit](command:workbench.action.openSettings?[). Open the full output data [in a text editor](command:workbench.action.openLargeOutput?5bf3d824-0531-41f2-90de-7553a6cf14b6)
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
Cell In[2], line 2
1 import leafmap
----> 2 from samgeo import SamGeo2, regularize
File d:\Anaconda\envs\geo\lib\site-packages\samgeo\__init__.py:8
4 __email__ = "[email protected]"
5 __version__ = "0.12.3"
----> 8 from .samgeo import *
9 from .samgeo2 import *
10 from .common import show_image_gui
File d:\Anaconda\envs\geo\lib\site-packages\samgeo\samgeo.py:11
8 import numpy as np
9 from segment_anything import sam_model_registry, SamAutomaticMaskGenerator, SamPredictor
---> 11 from .common import *
14 class SamGeo:
15 """The main class for segmenting geospatial data with the Segment Anything Model (SAM). See
16 https://github.com/facebookresearch/segment-anything for details.
17 """
File d:\Anaconda\envs\geo\lib\site-packages\samgeo\common.py:13
11 import shapely
12 import pyproj
...
---> 28 from rasterio._version import gdal_version, get_geos_version, get_proj_version
29 from rasterio.crs import CRS
30 from rasterio.drivers import driver_from_extension, is_blacklisted
ImportError: DLL load failed while importing _version: The specified program could not be found.
The text was updated successfully, but these errors were encountered:
Environment Information
Description
The Import libraries step in the Sam2 point prompts module ( import leafmap from samgeo import SamGeo2, regularize) keeps getting the following error: ImportError: Dll load failed while importing version: The specified program could not be found.
What I Did
The text was updated successfully, but these errors were encountered: