I am using ArcGIS Pro version 3.2.2 and got error while running the Edge Detection model .
---"ModuleNotFoundError: No module named 'huggingface_hub".
---Unable to load the specified python raster function module. [ArcGISImageClassifier]
I've installed the 'ArcGIS_Pro_32_Deep_Learning_Libraries', the Manifest of included packages for pro 3.2 does not include the library 'huggingface_hub', does this mean the edge detection model cannot be used for pro3.2?
The manifest of packages is here
which defaults to listing the current versions. For previous versions (like 3.2), look for the link and expand it
Manifest for Pro 3.2 / Server 11.2
links to the source packages can also be found there
I cannot see ''huggingface_hub'' under Manifest for Pro 3.2 / Server 11.2, but running the edge detection model seems to require ''huggingface_hub'', does this mean the model cannot be used for Pro 3.2?
For advanced version like Pro 3.4, I can see ''huggingface_hub'' is included.
It seems impossible to pip/conda install the library separately to the default Arcpy environment, what should I do to be able to run the model in Pro 3.2? Thanks.
If you can't pip install in the arcgispro-py3 environment without breaking its dependencies then you can't use it there.
I don't know if you can create a separate environment and install it there. That would be a post for the "Issues" section of
Thanks. I cannot pip install it into the arcgispro-py3 environment so it seems that this model cannot be used in arc pro 3.2
upgrade to a version of Pro that supports the workflow appears to be your only option
Clone the default environment in ArcGIS Pro, you can add libraries to a cloned version but not the default. Point ArcGIS Pro to use the cloned environment. I use pip all the time then to install various libraries from the command line with path\to\the\cloned\python.exe -m pip install library_name
Thanks, but this model requires the library to be installed into the default environment, not cloned environment.