Select to view content in your preferred language

Add grpcio to arcgis base python environment

417
2
03-25-2025 04:11 AM
Status: Closed
PatrickLuchsinger
Emerging Contributor

grpc is a widely used rpc framework: It enables an important architectural pattern to consume microservices similarly to how requests can be used to consume Rest APIs.

Having the grpc package in the base environment would complement the protobuf package, which is already part of the base environment. It would also make the deployment of python toolboxes easier because customers don't necessarily have to clone the base environment.

2 Comments
StefanFlury

At swisstopo, we use grpc on a large scale on many computers to implement long-running processes with continous messaging.

HannesZiegler
Status changed to: Closed

Thank you for your suggestion. The arcpy-base environment is intended to be the strictly minimum set of dependencies needed to run ArcGIS Pro toolboxes. For this reason, we will unfortunately not include grpcio in the arcpy-base package set.

However, you can quickly create a new environment based on arcpy-base and containing grpcio using the following command:

conda create -p %localappdata%\esri\envs\arcpy-base-grpc arcpy-base grpcio

 

Thanks again for your understanding