Hi,
I have Ptython module developed around google Speech to Text client library
(Python).
I am interfacing to this module from my C++ application. (Embedding python
in C++ application).
Getting import related error (Please find at the end) while loading module.
Please let me know, what I am doing wrong or missing something in setup,
Setup:
Using python 3.6
OS: CentOS 7
Installation:
yum install python36u
pip install --upgrade google-cloud-speech
Error Log:
Traceback (most recent call last):
File "/root/env/stt_interface.py", line 2, in <module>
from stt_google import speechToText
File "/root/env/stt_google.py", line 10, in <module>
from google.cloud.speech import types
File "/usr/lib/python3.6/site-packages/google/cloud/speech.py", line 20,
in <module>
from google.cloud.speech_v1 import SpeechClient
File
"/usr/lib/python3.6/site-packages/google/cloud/speech_v1/__init__.py", line
17, in <module>
from google.cloud.speech_v1.gapic import speech_client
File
"/usr/lib/python3.6/site-packages/google/cloud/speech_v1/gapic/speech_client.py",
line 23, in <module>
import google.api_core.gapic_v1.client_info
File
"/usr/lib/python3.6/site-packages/google/api_core/gapic_v1/__init__.py",
line 16, in <module>
from google.api_core.gapic_v1 import config
File
"/usr/lib/python3.6/site-packages/google/api_core/gapic_v1/config.py", line
23, in <module>
import grpc
* File "/usr/lib64/python3.6/site-packages/grpc/__init__.py", line 23, in
<module>*
* from grpc._cython import cygrpc as _cygrpc*
*ImportError:
/usr/lib64/python3.6/site-packages/grpc/_cython/cygrpc.cpython-36m-x86_64-linux-gnu.so:
undefined symbol: PyExc_ImportError*
Thanks,
Pradeep
--
You received this message because you are subscribed to the Google Groups
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/grpc-io/dbbcb17b-e93f-46bf-b920-69494e0f06fe%40googlegroups.com.