gRPC has no attribute 'experimental'

127 views
Skip to first unread message

cbrohm

unread,
Oct 1, 2024, 4:45:55 PM10/1/24
to grpc.io
I have been running into this error everytime I try and run a loader service. It contacts data from an api, (with a loader.proto file to go with it), transforms that data into an object, and persists it into a database (with a persister.proto to go with it). All 3 terminals, one with the persister service running , one with the loader service running, and the script to pull it all together all return the same error, albeit a different format. 
I gRPC is of the latest version (1.66.2) , and other endpoints with the same process work without the experimental error.
If anyone has any suggestions to this error, please let me know. 
Thanks!
Screenshot 2024-09-30 at 10.39.37 PM.png

Sreenithi Sridharan

unread,
Oct 9, 2024, 10:10:25 AM10/9/24
to grpc.io
Hi, 

We do have the `grpc.experimental` module used in multiple places across the library, and it looks like it is possibly missing for you. 
Can you check if the command `(echo "import grpc" ; echo "import grpc.experimental") | python` provides any error?

If that works without an error, please provide the output of `pip freeze` and some code to repro this issue locally.
Reply all
Reply to author
Forward
0 new messages