conda-forge / segment-geospatial-feedstock

A conda-smithy repository for segment-geospatial.
BSD 3-Clause "New" or "Revised" License
0 stars 3 forks source link

incorrect proj version installed on Mac Arm #40

Open rbavery opened 1 month ago

rbavery commented 1 month ago

Solution to issue cannot be found in the documentation.

Issue

I installed the env following the readme instructions

conda create -n geo python                            
conda activate geo
conda install -c conda-forge segment-geospatial

when I try to run a cell in sam_predictor.ipynb that uses leafmap I get

import leafmap
from samgeo import SamGeo2
m = leafmap.Map(center=[37.6412, -122.1353], zoom=15)
m.add_basemap("SATELLITE")
if m.user_roi is not None:
    bbox = m.user_roi_bounds()
else:
    bbox = [-122.1497, 37.6311, -122.1203, 37.6458]
image = "satellite.tif"
leafmap.map_tiles_to_geotiff(
    output=image, bbox=bbox, zoom=16, source="Satellite", overwrite=True
)
RuntimeError: PROJ: proj_create_from_database: /Users/ryanavery/miniforge3/share/proj/proj.db contains DATABASE.LAYOUT.VERSION.MINOR = 3 whereas a number >= 4 is expected. It comes from another PROJ installation.

this also happens when installing the package with pip.

Installed packages

affine 2.4.0 pyhd8ed1ab_0 conda-forge aniso8601 9.0.1 pyhd8ed1ab_0 conda-forge annotated-types 0.7.0 pyhd8ed1ab_0 conda-forge antlr-python-runtime 4.9.3 pyhd8ed1ab_1 conda-forge anyio 4.6.0 pyhd8ed1ab_1 conda-forge anywidget 0.9.13 pyhd8ed1ab_0 conda-forge aom 3.9.1 h7bae524_0 conda-forge appnope 0.1.4 pyhd8ed1ab_0 conda-forge argon2-cffi 23.1.0 pyhd8ed1ab_0 conda-forge argon2-cffi-bindings 21.2.0 py312h024a12e_5 conda-forge arrow 1.3.0 pyhd8ed1ab_0 conda-forge asttokens 2.4.1 pyhd8ed1ab_0 conda-forge async-lru 2.0.4 pyhd8ed1ab_0 conda-forge attrs 24.2.0 pyh71513ae_0 conda-forge aws-c-auth 0.7.31 hc27b277_0 conda-forge aws-c-cal 0.7.4 h41dd001_1 conda-forge aws-c-common 0.9.28 hd74edd7_0 conda-forge aws-c-compression 0.2.19 h41dd001_1 conda-forge aws-c-event-stream 0.4.3 h40a8fc1_2 conda-forge aws-c-http 0.8.10 hf5a2c8c_0 conda-forge aws-c-io 0.14.18 hc3cb426_11 conda-forge aws-c-mqtt 0.10.6 h3acc7b9_0 conda-forge aws-c-s3 0.6.6 hd16c091_0 conda-forge aws-c-sdkutils 0.1.19 h41dd001_3 conda-forge aws-checksums 0.1.20 h41dd001_0 conda-forge aws-crt-cpp 0.28.3 hdde83a9_5 conda-forge aws-sdk-cpp 1.11.407 h0455a66_0 conda-forge azure-core-cpp 1.13.0 hd01fc5c_0 conda-forge azure-identity-cpp 1.8.0 h13ea094_2 conda-forge azure-storage-blobs-cpp 12.12.0 hfde595f_0 conda-forge azure-storage-common-cpp 12.7.0 hcf3b6fd_1 conda-forge azure-storage-files-datalake-cpp 12.11.0 h082e32e_1 conda-forge babel 2.14.0 pyhd8ed1ab_0 conda-forge beautifulsoup4 4.12.3 pyha770c72_0 conda-forge bleach 6.1.0 pyhd8ed1ab_0 conda-forge blinker 1.8.2 pyhd8ed1ab_0 conda-forge blosc 1.21.6 h5499902_0 conda-forge bqplot 0.12.43 pyhd8ed1ab_0 conda-forge branca 0.7.2 pyhd8ed1ab_0 conda-forge brotli 1.1.0 hd74edd7_2 conda-forge brotli-bin 1.1.0 hd74edd7_2 conda-forge brotli-python 1.1.0 py312hde4cb15_2 conda-forge bzip2 1.0.8 h99b78c6_7 conda-forge c-ares 1.33.1 hd74edd7_0 conda-forge ca-certificates 2024.8.30 hf0a4a13_0 conda-forge cached-property 1.5.2 hd8ed1ab_1 conda-forge cached_property 1.5.2 pyha770c72_1 conda-forge cachelib 0.9.0 pyhd8ed1ab_0 conda-forge cachetools 5.5.0 pyhd8ed1ab_0 conda-forge cairo 1.18.0 hb4a6bf7_3 conda-forge certifi 2024.8.30 pyhd8ed1ab_0 conda-forge cffi 1.17.1 py312h0fad829_0 conda-forge cfitsio 4.4.1 h793ed5c_0 conda-forge charset-normalizer 3.3.2 pyhd8ed1ab_0 conda-forge click 8.1.7 unix_pyh707e725_0 conda-forge click-plugins 1.1.1 py_0 conda-forge cligj 0.7.2 pyhd8ed1ab_1 conda-forge color-operations 0.1.5 py312h755e627_2 conda-forge colorama 0.4.6 pyhd8ed1ab_0 conda-forge coloredlogs 15.0.1 pyhd8ed1ab_3 conda-forge colour 0.1.5 pyhd8ed1ab_1 conda-forge comm 0.2.2 pyhd8ed1ab_0 conda-forge contourpy 1.3.0 py312h6142ec9_2 conda-forge cycler 0.12.1 pyhd8ed1ab_0 conda-forge cyrus-sasl 2.1.27 h60b93bd_7 conda-forge cython 3.0.11 py312hde4cb15_2 conda-forge dataclasses 0.8 pyhc8e2a94_3 conda-forge dav1d 1.2.1 hb547adb_0 conda-forge debugpy 1.8.6 py312hde4cb15_0 conda-forge decorator 5.1.1 pyhd8ed1ab_0 conda-forge defusedxml 0.7.1 pyhd8ed1ab_0 conda-forge entrypoints 0.4 pyhd8ed1ab_0 conda-forge exceptiongroup 1.2.2 pyhd8ed1ab_0 conda-forge executing 2.1.0 pyhd8ed1ab_0 conda-forge expat 2.6.3 hf9b8971_0 conda-forge ffmpeg 6.1.2 gpl_he9820c9_105 conda-forge filelock 3.16.1 pyhd8ed1ab_0 conda-forge fiona 1.10.1 py312hf3c922e_1 conda-forge flask 2.3.3 pyhd8ed1ab_0 conda-forge flask-caching 2.1.0 pyhd8ed1ab_0 conda-forge flask-cors 5.0.0 pyhd8ed1ab_0 conda-forge flask-restx 1.3.0 pyhd8ed1ab_0 conda-forge fmt 11.0.2 h420ef59_0 conda-forge folium 0.17.0 pyhd8ed1ab_0 conda-forge font-ttf-dejavu-sans-mono 2.37 hab24e00_0 conda-forge font-ttf-inconsolata 3.000 h77eed37_0 conda-forge font-ttf-source-code-pro 2.038 h77eed37_0 conda-forge font-ttf-ubuntu 0.83 h77eed37_3 conda-forge fontconfig 2.14.2 h82840c6_0 conda-forge fonts-conda-ecosystem 1 0 conda-forge fonts-conda-forge 1 0 conda-forge fonttools 4.54.1 py312h024a12e_0 conda-forge fqdn 1.5.1 pyhd8ed1ab_0 conda-forge freetype 2.12.1 hadb7bae_2 conda-forge freexl 2.0.0 hfbad9fb_0 conda-forge fribidi 1.0.10 h27ca646_0 conda-forge fsspec 2024.9.0 pyhff2d567_0 conda-forge gdal 3.9.2 py312h936c49d_6 conda-forge gdown 5.2.0 pyhd8ed1ab_0 conda-forge geojson 3.1.0 pyhd8ed1ab_0 conda-forge geopandas 1.0.1 pyhd8ed1ab_1 conda-forge geopandas-base 1.0.1 pyha770c72_1 conda-forge geos 3.13.0 hf9b8971_0 conda-forge geotiff 1.7.3 h82bf549_3 conda-forge gflags 2.2.2 hf9b8971_1005 conda-forge giflib 5.2.2 h93a5062_0 conda-forge glog 0.7.1 heb240a5_0 conda-forge gmp 6.3.0 h7bae524_2 conda-forge gmpy2 2.1.5 py312h87fada9_2 conda-forge graphite2 1.3.13 hebf3989_1003 conda-forge h11 0.14.0 pyhd8ed1ab_0 conda-forge h2 4.1.0 pyhd8ed1ab_0 conda-forge harfbuzz 9.0.0 h997cde5_1 conda-forge hdf4 4.2.15 h2ee6834_7 conda-forge hdf5 1.14.3 nompi_hec07895_105 conda-forge hpack 4.0.0 pyh9f0ad1d_0 conda-forge httpcore 1.0.6 pyhd8ed1ab_0 conda-forge httpx 0.27.2 pyhd8ed1ab_0 conda-forge huggingface_hub 0.25.1 pyhd8ed1ab_0 conda-forge humanfriendly 10.0 pyhd8ed1ab_6 conda-forge hydra-core 1.3.2 pyhd8ed1ab_0 conda-forge hyperframe 6.0.1 pyhd8ed1ab_0 conda-forge icu 75.1 hfee45f7_0 conda-forge idna 3.10 pyhd8ed1ab_0 conda-forge imath 3.1.12 h025cafa_0 conda-forge importlib-metadata 8.5.0 pyha770c72_0 conda-forge importlib-resources 6.4.5 pyhd8ed1ab_0 conda-forge importlib_metadata 8.5.0 hd8ed1ab_0 conda-forge importlib_resources 6.4.5 pyhd8ed1ab_0 conda-forge iopath 0.1.10 pyhd8ed1ab_0 conda-forge ipyevents 2.0.2 pyhd8ed1ab_0 conda-forge ipyfilechooser 0.6.0 pyhd8ed1ab_0 conda-forge ipykernel 6.29.5 pyh57ce528_0 conda-forge ipyleaflet 0.19.2 pyhd8ed1ab_0 conda-forge ipympl 0.9.4 pyhd8ed1ab_0 conda-forge ipysheet 0.7.0 pyhd8ed1ab_0 conda-forge ipython 8.28.0 pyh707e725_0 conda-forge ipython_genutils 0.2.0 pyhd8ed1ab_1 conda-forge ipytree 0.2.2 pyhd8ed1ab_0 conda-forge ipyvue 1.11.0 pyhd8ed1ab_0 conda-forge ipyvuetify 1.10.0 pyhd8ed1ab_0 conda-forge ipywidgets 8.1.5 pyhd8ed1ab_0 conda-forge isoduration 20.11.0 pyhd8ed1ab_0 conda-forge itsdangerous 2.2.0 pyhd8ed1ab_0 conda-forge jasper 4.2.4 h6c4e4ef_0 conda-forge jedi 0.19.1 pyhd8ed1ab_0 conda-forge jinja2 3.1.4 pyhd8ed1ab_0 conda-forge joblib 1.4.2 pyhd8ed1ab_0 conda-forge json-c 0.18 he4178ee_0 conda-forge json5 0.9.25 pyhd8ed1ab_0 conda-forge jsonpointer 3.0.0 py312h81bd7bf_1 conda-forge jsonschema 4.17.3 pyhd8ed1ab_0 conda-forge jsonschema-with-format-nongpl 4.17.3 pyhd8ed1ab_0 conda-forge jupyter-lsp 2.2.5 pyhd8ed1ab_0 conda-forge jupyter_client 8.6.3 pyhd8ed1ab_0 conda-forge jupyter_core 5.7.2 pyh31011fe_1 conda-forge jupyter_events 0.6.3 pyhd8ed1ab_1 conda-forge jupyter_leaflet 0.19.2 pyhd8ed1ab_0 conda-forge jupyter_server 2.10.0 pyhd8ed1ab_0 conda-forge jupyter_server_terminals 0.5.3 pyhd8ed1ab_0 conda-forge jupyterlab 4.1.6 pyhd8ed1ab_0 conda-forge jupyterlab_pygments 0.3.0 pyhd8ed1ab_1 conda-forge jupyterlab_server 2.24.0 pyhd8ed1ab_0 conda-forge jupyterlab_widgets 3.0.13 pyhd8ed1ab_0 conda-forge kealib 1.5.3 h8edbb62_2 conda-forge kiwisolver 1.4.7 py312h6142ec9_0 conda-forge krb5 1.21.3 h237132a_0 conda-forge lame 3.100 h1a8c8d9_1003 conda-forge lcms2 2.16 ha0e7c42_0 conda-forge leafmap 0.38.3 pyhd8ed1ab_0 conda-forge lerc 4.0.0 h9a09cb3_0 conda-forge libabseil 20240116.2 cxx17_h00cdb27_1 conda-forge libaec 1.1.3 hebf3989_0 conda-forge libarchive 3.7.4 h83d404f_0 conda-forge libarrow 17.0.0 hc6a7651_16_cpu conda-forge libarrow-acero 17.0.0 hf9b8971_16_cpu conda-forge libarrow-dataset 17.0.0 hf9b8971_16_cpu conda-forge libarrow-substrait 17.0.0 hbf8b706_16_cpu conda-forge libasprintf 0.22.5 h8414b35_3 conda-forge libass 0.17.3 hf20b609_0 conda-forge libblas 3.9.0 24_osxarm64_openblas conda-forge libbrotlicommon 1.1.0 hd74edd7_2 conda-forge libbrotlidec 1.1.0 hd74edd7_2 conda-forge libbrotlienc 1.1.0 hd74edd7_2 conda-forge libcblas 3.9.0 24_osxarm64_openblas conda-forge libcrc32c 1.1.2 hbdafb3b_0 conda-forge libcurl 8.10.1 h13a7ad3_0 conda-forge libcxx 19.1.1 ha82da77_0 conda-forge libdeflate 1.21 h99b78c6_0 conda-forge libedit 3.1.20191231 hc8eb9b7_2 conda-forge libev 4.33 h93a5062_2 conda-forge libevent 2.1.12 h2757513_1 conda-forge libexpat 2.6.3 hf9b8971_0 conda-forge libffi 3.4.2 h3422bc3_5 conda-forge libgdal 3.9.2 hce30654_6 conda-forge libgdal-core 3.9.2 h3535123_6 conda-forge libgdal-fits 3.9.2 h248c7bc_6 conda-forge libgdal-grib 3.9.2 h6d3d72d_6 conda-forge libgdal-hdf4 3.9.2 h3847bb8_6 conda-forge libgdal-hdf5 3.9.2 h2def128_6 conda-forge libgdal-jp2openjpeg 3.9.2 hd61e619_6 conda-forge libgdal-kea 3.9.2 h7b2de0b_6 conda-forge libgdal-netcdf 3.9.2 h5e0d008_6 conda-forge libgdal-pdf 3.9.2 h587d690_6 conda-forge libgdal-pg 3.9.2 h6a0b679_6 conda-forge libgdal-postgisraster 3.9.2 h6a0b679_6 conda-forge libgdal-tiledb 3.9.2 h27a95ea_5 conda-forge libgdal-xls 3.9.2 habc1c91_6 conda-forge libgettextpo 0.22.5 h8414b35_3 conda-forge libgfortran 5.0.0 13_2_0_hd922786_3 conda-forge libgfortran5 13.2.0 hf226fd6_3 conda-forge libglib 2.82.1 h4821c08_0 conda-forge libgoogle-cloud 2.29.0 hfa33a2f_0 conda-forge libgoogle-cloud-storage 2.29.0 h90fd6fa_0 conda-forge libgrpc 1.62.2 h9c18a4f_0 conda-forge libhwloc 2.11.1 default_h7685b71_1000 conda-forge libiconv 1.17 h0d3ecfb_2 conda-forge libintl 0.22.5 h8414b35_3 conda-forge libjpeg-turbo 3.0.0 hb547adb_1 conda-forge libkml 1.3.0 he250239_1021 conda-forge liblapack 3.9.0 24_osxarm64_openblas conda-forge liblapacke 3.9.0 24_osxarm64_openblas conda-forge libnetcdf 4.9.2 nompi_he469be0_114 conda-forge libnghttp2 1.58.0 ha4dd798_1 conda-forge libntlm 1.4 h3422bc3_1002 conda-forge libopenblas 0.3.27 openmp_h517c56d_1 conda-forge libopencv 4.10.0 headless_py312haa779ad_6 conda-forge libopenvino 2024.4.0 h49f535f_0 conda-forge libopenvino-arm-cpu-plugin 2024.4.0 h49f535f_0 conda-forge libopenvino-auto-batch-plugin 2024.4.0 h8a2fcec_0 conda-forge libopenvino-auto-plugin 2024.4.0 h8a2fcec_0 conda-forge libopenvino-hetero-plugin 2024.4.0 h868cbb4_0 conda-forge libopenvino-ir-frontend 2024.4.0 h868cbb4_0 conda-forge libopenvino-onnx-frontend 2024.4.0 hf4ed89a_0 conda-forge libopenvino-paddle-frontend 2024.4.0 hf4ed89a_0 conda-forge libopenvino-pytorch-frontend 2024.4.0 hf9b8971_0 conda-forge libopenvino-tensorflow-frontend 2024.4.0 h94307f2_0 conda-forge libopenvino-tensorflow-lite-frontend 2024.4.0 hf9b8971_0 conda-forge libopus 1.3.1 h27ca646_1 conda-forge libparquet 17.0.0 hf0ba9ef_16_cpu conda-forge libpng 1.6.44 hc14010f_0 conda-forge libpq 17.0 h7536039_2 conda-forge libprotobuf 4.25.3 hc39d83c_1 conda-forge libre2-11 2023.09.01 h7b2c953_2 conda-forge librttopo 1.1.0 ha2cf0f4_17 conda-forge libsodium 1.0.20 h99b78c6_0 conda-forge libspatialite 5.1.0 hffd3212_11 conda-forge libsqlite 3.46.1 hc14010f_0 conda-forge libssh2 1.11.0 h7a5bd25_0 conda-forge libthrift 0.20.0 h64651cc_1 conda-forge libtiff 4.7.0 h9c1d414_0 conda-forge libtorch 2.4.1 cpu_generic_h123b01e_0 conda-forge libutf8proc 2.8.0 h1a8c8d9_0 conda-forge libuv 1.49.0 hd74edd7_0 conda-forge libvpx 1.14.1 h7bae524_0 conda-forge libwebp-base 1.4.0 h93a5062_0 conda-forge libxcb 1.17.0 hdb1d25a_0 conda-forge libxml2 2.12.7 h01dff8b_4 conda-forge libxslt 1.1.39 h223e5b9_0 conda-forge libzip 1.11.1 hfc4440f_0 conda-forge libzlib 1.3.1 h8359307_2 conda-forge llvm-openmp 19.1.0 hba312e6_0 conda-forge localtileserver 0.10.4 pyhd8ed1ab_1 conda-forge lz4-c 1.9.4 hb7217d7_0 conda-forge lzo 2.10 h93a5062_1001 conda-forge mapclassify 2.8.1 pyhd8ed1ab_0 conda-forge markupsafe 2.1.5 py312h024a12e_1 conda-forge matplotlib-base 3.9.2 py312h9bd0bc6_1 conda-forge matplotlib-inline 0.1.7 pyhd8ed1ab_0 conda-forge minizip 4.0.7 h27ee973_0 conda-forge mistune 3.0.2 pyhd8ed1ab_0 conda-forge morecantile 5.4.2 pyhd8ed1ab_0 conda-forge mpc 1.3.1 h8f1351a_1 conda-forge mpfr 4.2.1 hb693164_3 conda-forge mpmath 1.3.0 pyhd8ed1ab_0 conda-forge munkres 1.1.4 pyh9f0ad1d_0 conda-forge nbclient 0.10.0 pyhd8ed1ab_0 conda-forge nbconvert-core 7.16.4 pyhd8ed1ab_1 conda-forge nbformat 5.10.4 pyhd8ed1ab_0 conda-forge ncurses 6.5 h7bae524_1 conda-forge nest-asyncio 1.6.0 pyhd8ed1ab_0 conda-forge networkx 3.3 pyhd8ed1ab_1 conda-forge nomkl 1.0 h5ca1d4c_0 conda-forge notebook-shim 0.2.4 pyhd8ed1ab_0 conda-forge nspr 4.35 hb7217d7_0 conda-forge nss 3.105 hd1ce637_0 conda-forge numexpr 2.10.0 py312h8ae5369_0 conda-forge numpy 2.1.2 py312h801f5e3_0 conda-forge omegaconf 2.3.0 pyhd8ed1ab_0 conda-forge onnx 1.16.2 py312h2a9fb06_1 conda-forge onnxruntime 1.18.1 py312h906472a_1_cpu conda-forge opencv 4.10.0 headless_py312hf580477_6 conda-forge openexr 3.2.2 hab01212_2 conda-forge openh264 2.4.1 hebf3989_0 conda-forge openjpeg 2.5.2 h9f1df11_0 conda-forge openldap 2.6.8 h50f2afc_0 conda-forge openssl 3.3.2 h8359307_0 conda-forge orc 2.0.2 h75dedd0_0 conda-forge overrides 7.7.0 pyhd8ed1ab_0 conda-forge packaging 24.1 pyhd8ed1ab_0 conda-forge pandas 2.2.3 py312hcd31e36_1 conda-forge pandocfilters 1.5.0 pyhd8ed1ab_0 conda-forge parso 0.8.4 pyhd8ed1ab_0 conda-forge patool 3.0.0 pyhd8ed1ab_0 conda-forge pcre2 10.44 h297a79d_2 conda-forge pexpect 4.9.0 pyhd8ed1ab_0 conda-forge pickleshare 0.7.5 py_1003 conda-forge pillow 10.4.0 py312h8609ca0_1 conda-forge pip 24.2 pyh8b19718_1 conda-forge pixman 0.43.4 hebf3989_0 conda-forge pkgutil-resolve-name 1.3.10 pyhd8ed1ab_1 conda-forge platformdirs 4.3.6 pyhd8ed1ab_0 conda-forge plotly 5.24.1 pyhd8ed1ab_0 conda-forge pmtiles 3.4.0 pyhd8ed1ab_0 conda-forge poppler 24.08.0 h37b219d_1 conda-forge poppler-data 0.4.12 hd8ed1ab_0 conda-forge portalocker 2.10.1 py312h81bd7bf_0 conda-forge postgresql 17.0 h821f464_2 conda-forge proj 9.5.0 h61a8e3e_0 conda-forge prometheus_client 0.21.0 pyhd8ed1ab_0 conda-forge prompt-toolkit 3.0.48 pyha770c72_0 conda-forge protobuf 4.25.3 py312he4aa971_1 conda-forge pscript 0.7.7 pyhd8ed1ab_0 conda-forge psutil 6.0.0 py312h024a12e_1 conda-forge psygnal 0.11.1 pyhd8ed1ab_0 conda-forge pthread-stubs 0.4 hd74edd7_1002 conda-forge ptyprocess 0.7.0 pyhd3deb0d_0 conda-forge pugixml 1.14 h13dd4ca_0 conda-forge pure_eval 0.2.3 pyhd8ed1ab_0 conda-forge py-opencv 4.10.0 headless_py312hd31a7ba_6 conda-forge pyarrow 17.0.0 py312ha814d7c_1 conda-forge pyarrow-core 17.0.0 py312he20ac61_1_cpu conda-forge pycocotools 2.0.8 py312hbebd99a_0 conda-forge pycparser 2.22 pyhd8ed1ab_0 conda-forge pycrs 1.0.2 py_0 conda-forge pydantic 2.9.2 pyhd8ed1ab_0 conda-forge pydantic-core 2.23.4 py312he431725_0 conda-forge pygments 2.18.0 pyhd8ed1ab_0 conda-forge pyobjc-core 10.3.1 py312hd24fc31_1 conda-forge pyobjc-framework-cocoa 10.3.1 py312hd24fc31_1 conda-forge pyogrio 0.10.0 py312hf9e36c7_0 conda-forge pyparsing 3.1.4 pyhd8ed1ab_0 conda-forge pyproj 3.7.0 py312h1ab748d_0 conda-forge pyrsistent 0.20.0 py312h024a12e_1 conda-forge pyshp 2.3.1 pyhd8ed1ab_0 conda-forge pysocks 1.7.1 pyha2e5f31_6 conda-forge pystac 1.11.0 pyhd8ed1ab_0 conda-forge pystac-client 0.8.3 pyhd8ed1ab_0 conda-forge python 3.12.7 h739c21a_0_cpython conda-forge python-box 7.2.0 py312h7e5086c_0 conda-forge python-dateutil 2.9.0 pyhd8ed1ab_0 conda-forge python-duckdb 1.1.1 py312hde4cb15_0 conda-forge python-fastjsonschema 2.20.0 pyhd8ed1ab_0 conda-forge python-flatbuffers 24.3.25 pyh59ac667_0 conda-forge python-json-logger 2.0.7 pyhd8ed1ab_0 conda-forge python-tzdata 2024.2 pyhd8ed1ab_0 conda-forge python_abi 3.12 5_cp312 conda-forge pytorch 2.4.1 cpu_generic_py312h40771f0_0 conda-forge pytz 2024.1 pyhd8ed1ab_0 conda-forge pyyaml 6.0.2 py312h024a12e_1 conda-forge pyzmq 26.2.0 py312hc6335d2_2 conda-forge qhull 2020.2 h420ef59_5 conda-forge rasterio 1.4.1 py312hce5656c_0 conda-forge re2 2023.09.01 h4cba328_2 conda-forge readline 8.2 h92ec313_1 conda-forge requests 2.32.3 pyhd8ed1ab_0 conda-forge rfc3339-validator 0.1.4 pyhd8ed1ab_0 conda-forge rfc3986-validator 0.1.1 pyh9f0ad1d_0 conda-forge rio-cogeo 5.3.6 pyhd8ed1ab_0 conda-forge rio-tiler 6.7.0 pyhd8ed1ab_0 conda-forge ruamel.yaml 0.18.6 py312he37b823_0 conda-forge ruamel.yaml.clib 0.2.8 py312he37b823_0 conda-forge safetensors 0.4.5 py312he431725_0 conda-forge sam2 0.4.1 pyh94de1ce_1 conda-forge scikit-learn 1.5.2 py312h387f99c_1 conda-forge scipy 1.14.1 py312heb3a901_0 conda-forge scooby 0.10.0 pyhd8ed1ab_0 conda-forge segment-anything 1.0.1 pyhd8ed1ab_0 conda-forge segment-anything-hq 0.3 pyhd8ed1ab_0 conda-forge segment-geospatial 0.11.3 pyh2d413fc_0 conda-forge send2trash 1.8.3 pyh31c8845_0 conda-forge server-thread 0.2.0 pyhd8ed1ab_0 conda-forge setuptools 75.1.0 pyhd8ed1ab_0 conda-forge shapely 2.0.6 py312h3a6007a_2 conda-forge six 1.16.0 pyh6c4a22f_0 conda-forge sleef 3.7 h7783ee8_0 conda-forge snappy 1.2.1 hd02b534_0 conda-forge sniffio 1.3.1 pyhd8ed1ab_0 conda-forge snuggs 1.4.7 pyhd8ed1ab_1 conda-forge soupsieve 2.5 pyhd8ed1ab_1 conda-forge spdlog 1.14.1 h6d8af72_1 conda-forge sqlite 3.46.1 h3b4c4e4_0 conda-forge stack_data 0.6.2 pyhd8ed1ab_0 conda-forge svt-av1 2.2.1 ha39b806_0 conda-forge sympy 1.13.3 pypyh2585a3b_103 conda-forge tbb 2021.13.0 h7b3277c_0 conda-forge tenacity 9.0.0 pyhd8ed1ab_0 conda-forge terminado 0.18.1 pyh31c8845_0 conda-forge threadpoolctl 3.5.0 pyhc1e730c_0 conda-forge tiledb 2.26.1 hb36ea6a_1 conda-forge timm 1.0.9 pyhd8ed1ab_0 conda-forge tinycss2 1.3.0 pyhd8ed1ab_0 conda-forge tk 8.6.13 h5083fa2_1 conda-forge toml 0.10.2 pyhd8ed1ab_0 conda-forge tomli 2.0.2 pyhd8ed1ab_0 conda-forge torchvision 0.19.1 cpu_py312hb1f4288_0 conda-forge tornado 6.4.1 py312h024a12e_1 conda-forge tqdm 4.66.5 pyhd8ed1ab_0 conda-forge traitlets 5.14.3 pyhd8ed1ab_0 conda-forge traittypes 0.2.1 pyh9f0ad1d_2 conda-forge types-python-dateutil 2.9.0.20241003 pyhff2d567_0 conda-forge typing-extensions 4.12.2 hd8ed1ab_0 conda-forge typing_extensions 4.12.2 pyha770c72_0 conda-forge typing_utils 0.1.0 pyhd8ed1ab_0 conda-forge tzcode 2024b hd74edd7_0 conda-forge tzdata 2024b hc8b5060_0 conda-forge uri-template 1.3.0 pyhd8ed1ab_0 conda-forge uriparser 0.9.8 h00cdb27_0 conda-forge urllib3 2.2.3 pyhd8ed1ab_0 conda-forge uvicorn 0.31.0 py312h81bd7bf_0 conda-forge watchfiles 0.24.0 py312he431725_1 conda-forge wcwidth 0.2.13 pyhd8ed1ab_0 conda-forge webcolors 24.8.0 pyhd8ed1ab_0 conda-forge webencodings 0.5.1 pyhd8ed1ab_2 conda-forge websocket-client 1.8.0 pyhd8ed1ab_0 conda-forge werkzeug 2.3.8 pyhd8ed1ab_0 conda-forge wheel 0.44.0 pyhd8ed1ab_0 conda-forge whitebox 2.3.5 pyhd8ed1ab_0 conda-forge whiteboxgui 2.3.0 pyhd8ed1ab_0 conda-forge widgetsnbextension 4.0.13 pyhd8ed1ab_0 conda-forge wrapt 1.16.0 py312h024a12e_1 conda-forge x264 1!164.3095 h57fd34a_2 conda-forge x265 3.5 hbc6ce65_3 conda-forge xarray 2024.9.0 pyhd8ed1ab_0 conda-forge xerces-c 3.2.5 h92fc2f4_2 conda-forge xorg-libx11 1.8.10 h2321a68_0 conda-forge xorg-libxau 1.0.11 hd74edd7_1 conda-forge xorg-libxdmcp 1.1.5 hd74edd7_0 conda-forge xorg-xorgproto 2024.1 hd74edd7_1 conda-forge xyzservices 2024.9.0 pyhd8ed1ab_0 conda-forge xz 5.2.6 h57fd34a_0 conda-forge yaml 0.2.5 h3422bc3_2 conda-forge zeromq 4.3.5 h64debc3_5 conda-forge zipp 3.20.2 pyhd8ed1ab_0 conda-forge zlib 1.3.1 h8359307_2 conda-forge zstandard 0.23.0 py312h15fbf35_1 conda-forge zstd 1.5.6 hb46c0d2_0 conda-forge

Environment info

active environment : geo active env location : /Users/ryanavery/miniforge3/envs/geo shell level : 1 user config file : /Users/ryanavery/.condarc populated config files : /Users/ryanavery/miniforge3/.condarc conda version : 24.7.1 conda-build version : not installed python version : 3.11.9.final.0 solver : libmamba (default) virtual packages : archspec=1=m1 conda=24.7.1=0 osx=14.4.1=0 unix=0=0 base environment : /Users/ryanavery/miniforge3 (writable) conda av data dir : /Users/ryanavery/miniforge3/etc/conda conda av metadata url : None channel URLs : https://conda.anaconda.org/conda-forge/osx-arm64 https://conda.anaconda.org/conda-forge/noarch package cache : /Users/ryanavery/miniforge3/pkgs /Users/ryanavery/.conda/pkgs envs directories : /Users/ryanavery/miniforge3/envs /Users/ryanavery/.conda/envs platform : osx-arm64 user-agent : conda/24.7.1 requests/2.31.0 CPython/3.11.9 Darwin/23.4.0 OSX/14.4.1 solver/libmamba conda-libmamba-solver/24.1.0 libmambapy/1.5.8 UID:GID : 501:20 netrc file : None offline mode : False

rbavery commented 1 month ago

I noticed the traceback referenced a proj db in my main conda env. when I update proj in the base env with

conda install -c conda-forge proj gdal pyproj rasterio

then the error goes away. I'm not sure if this is an issue with this feedstock or conda, I would expect the proj db to be set up in the geo conda environment so the env is self contained.

giswqs commented 1 month ago

Thank you for reporting. I run into proj issue from time to time on my Linux machine, though not the same error as yours. This maybe an issue with conda rather than samgeo.

One thing you can try is to create a new conda env and just install pyproj to see if you get the same error. However, since you already updated the base env, the error might not appear again.