Questions tagged [grpcio]

31 questions
0
votes
0 answers

grpcio package installation error- "`_needs_stub` attribute from older version of setuptools", setuptools fully upgraded?

Am trying to install tensor flow object detection api manually so that another program of mine can properly run. When installing all the packages needed, grpcio specifically failed, I received the error message below: ` commands.CommandError: We…
0
votes
2 answers

'this version of sdk is incompatible with server, please downgrade your sdk or upgrade your server' error when I try to connect to the milvus server

I'm trying out Milvus implementations on a jupyter notebook, but I run into an error when I try to connect to the Milvus server. I'm attaching the cell and the corresponding error for reference. Note that I'm using pymilvus 2.2.9. Connect to Milvus…
akash
  • 1
  • 1
0
votes
0 answers

Python grpcio-tools and yandex speechkit

i have a problem. I try pip install speechkit and have a problem with grpcio-tools. PS G:\PyPro\YaTextToVoice> pip install speechkit Collecting speechkit Using cached speechkit-2.1.1-py3-none-any.whl (42 kB) Collecting boto3 Using cached…
0
votes
0 answers

how can I merge grpc client and http request?

I want to merge http request and grpc client that means: I have a request for create some object. my service is gateway that means it sends data in celery task and grpc client sends a request and receive stream responses. when should i run this…
Amir
  • 7
  • 4
0
votes
0 answers

problem with from google.api import http_pb2 as google_dot_api_dot_http__pb2

I'am trying to import pinecone but I get the following error : AttributeError: 'NoneType' object has no attribute 'message_types_by_name' which is related to : from google.api import http_pb2 as google_dot_api_dot_http__pb2. what i've try : upgrade…
0
votes
1 answer

VS Code Intellisense Not Working for Python gRPC

Is there anything specific that needs to be done to get VS Code's intellisense working for classes auto-generated by the gRPC compiler in Python? I ran the compile command: python -m grpc_tools.protoc -I../../pb --python_out=. --grpc_python_out=.…
faridghar
  • 1,445
  • 2
  • 13
  • 25
0
votes
1 answer

is python package grpcio from conda-forge or pypi build using boringssl?

I would like to be sure that the python package grpcio (version >= 1.38.1) that I need to install is using BoringSSL and not OpenSSL. I was looking a conda-forge conda-forge or pypi pypi or at the grpc site grpc but could find this info. I found…
Dr. Fabien Tarrade
  • 1,556
  • 6
  • 23
  • 49
0
votes
1 answer

Python GRPC Client to remote server with different IP address

Is it possible to connect GPRC client in Python or any language to a remote server using DNS or an actual IP address?. If you can provide a code snippet that would be great.
0
votes
1 answer

ERROR: Could not find a version that satisfies the requirement grpcio<2,>=1.29.0 (from apache-beam[gcp])

I'm encountering an issue while executing an Apache Beam pipeline in Dataflow (using DirectRunner). I have a requirements.txt file containing apache-beam[gcp] among other libraries. Following is the error TraceBack: 2021-08-04 12:08:24.574 | INFO …
0
votes
1 answer

Failed building wheel for grpcio - docker-compose. Python project

Try to build docker-compose container on host machine. The problem with grpcio, which fails all the time. Error: distutils.errors.CompileError: command '/usr/bin/gcc' failed with exit code 1 ERROR: Failed building wheel for grpcio With VERY big…
Vladislav
  • 47
  • 1
  • 7
0
votes
2 answers

How to install google-ads (grpcio) in AWS ec2

I want to use google-ads in AWS EC2. I try to install it with, pip install google-ads but this throws an error. Error: ssm-user@ip-172-31-47-200:/var/snap/amazon-ssm-agent/3552$ pip install pip install google-ads Collecting pip Downloading…
Rohit Nishad
  • 2,570
  • 2
  • 22
  • 32
0
votes
1 answer

How do i timing streaming messages with Python gRPC

As the answer in the question: how-do-i-handle-streaming-messages-with-python-grpc, @Nathaniel provides a solution to handle request and response. But when I want to statistics the process time of every response, it just doesn't look right. For…
0
votes
0 answers

tensorflow, tensorflow-quantum, grpcio dependency conflicts

I installed tensorflow-quantum and got the following error: tensorflow-quantum 0.5.0 requires grpcio==1.30.0, but you have grpcio 1.32.0 which is incompatible. So, I installed grpcio 1.30.0, but then got the following error: tensorflow 2.4.1…
ryanhill1
  • 165
  • 1
  • 9
0
votes
0 answers

Google Cloud Speech not installing on Raspberry Pi 3b+

I've been trying to install the google speech api on my raspberry pi venv but it gets stuck while installing grpcio. pip install --upgrade google-cloud-speech The Python version i'm using is 3.8.6. I've tried to let it install overnight but the…
0
votes
1 answer

Failed to run dev_appserver.py using Datastore emulator from PyCharm

I have a simple Python 2.7 Google App Engine application. I set my PyCharm Professional IDE to debug or run the app with Datastore emulator, and get the following error: `Cannot use the Cloud Datastore Emulator because the packaged grpcio is…
Netanel Stern
  • 149
  • 3
  • 16