-
|
Hello, Qiusheng Wu, I am reaching out regarding an issue I’ve encountered while trying to run the GeoAI plugin. I would greatly appreciate your guidance in resolving it. Environment: OS: Windows 10 (Russia) On the first launch via OSGeo4W Shell, the Moondream VLM module worked, but SamGeo failed to load. Failed to load model: Additional context: We experience difficulties downloading models from Hugging Face in Russia, but we have found workarounds.
Best regards, |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
|
Hi, I have also encountered the same issue "pip install segment-geospatial[samgeo3]" within QGIS, I managed to get it working within a normal python environment (samgeo, geoai etc) however in QGIS it refuses to work... I managed to sort out my torch issue by updating gpu drivers but still nothing... my environment is : If this is a wider bug woth QGIS, please let me know thanks |
Beta Was this translation helpful? Give feedback.
-
|
See #419 (comment) |
Beta Was this translation helpful? Give feedback.
-
|
The result of solving the problem with importing transformers and pyarrow into QGIS What solved the problem
, Short instructions for the future Always install packages via Conda: Use pip only as a last resort.: Follow the official instructions when creating an environment for GeoAI: Thus, the solution was to bring the entire environment to a consistent state, where all binary dependencies are compiled by one compiler and compatible with each other. Here are the key commands that solved the problem with importing transformers and pyarrow into QGIS, in the order in which they were executed:
Checking the installation source of the problematicconda list | findstr pyarrow package
Removing an incompatible version from PyPIpip uninstall pyarrow -y Installing a compatible version from conda-forge with channel priorityconda install -c conda-forge --strict-channel-priority pyarrow=14.0.2
bash Forced reinstallation of the current version of QGISconda install -c conda-forge --strict-channel-priority qgis --force-reinstall |
Beta Was this translation helpful? Give feedback.
The result of solving the problem with importing transformers and pyarrow into QGIS
The problem with the DLL load failed error when importing the transformers and pyarrow libraries in the QGIS environment was solved in two stages. The root cause is the classic binary dependency conflict in Windows when using Conda.
What solved the problem
Stage Problem Solution Result