Grpc python import error

I have an error for using grpc in python3. Could you have any tip for import error “free(): invalid pointer”

I installed grpc below version.

When I use deepstream-5.01 on NX, it works well. but when i use deepstream-5.1 and jetpack 4.5.1 on NX, it doesn’t.
Please help me. Thank you in advance.

• Hardware Platform (Jetson / GPU)
• DeepStream Version
• JetPack Version (valid for Jetson only)
• TensorRT Version
• NVIDIA GPU Driver Version (valid for GPU only)
• Issue Type( questions, new requirements, bugs)
• How to reproduce the issue ? (This is for bugs. Including which sample app is using, the configuration files content, the command line used and other details for reproducing)
• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)

1 Like

Hey customer, seems it’s not a deepstream issue.


Is the version 1.37.1 essential for you?

We install the latest and doesn’t meet an import error.
Could you give it a try?

$ pip3 install -U grpcio 


Thank you.
I put my command
pip3 install grpcio
and it occurred error in progress import grpc in py file.

When i uninstall grpcio and reinstall with “pip3 install -U grpcio” , it works well.
I’m appreciate for your help.