ImportError: /lib/arm-linux-gnueabihf/libc.so.6: version `GLIBC_2.33' not found 에러
조회수 1034회
안녕하세요 구글 클라우드 플랫폼에서 stt를 사용하려고 하는데 나와있는 opensoure중
https://github.com/googleapis/python-speech/blob/main/samples/microphone
에서
transcribe_streaming_mic.py
파일을 실행하기 위해 python transcribe_streaming_mic.py
명령어를 치면
아래와같은 오류가 나옵니다
Traceback (most recent call last):
File "transcribe_streaming_mic.py", line 34, in <module>
from google.cloud import speech
File "/home/pi/python-speech/env1/lib/python3.6/site-packages/google/cloud/speech/__init__.py", line 17, in <modu le>
from google.cloud.speech_v1 import SpeechClient
File "/home/pi/python-speech/env1/lib/python3.6/site-packages/google/cloud/speech_v1/__init__.py", line 17, in <m odule>
from .services.speech import SpeechClient
File "/home/pi/python-speech/env1/lib/python3.6/site-packages/google/cloud/speech_v1/services/speech/__init__.py" , line 16, in <module>
from .client import SpeechClient
File "/home/pi/python-speech/env1/lib/python3.6/site-packages/google/cloud/speech_v1/services/speech/client.py", line 24, in <module>
from google.api_core import gapic_v1
File "/home/pi/python-speech/env1/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 "/home/pi/python-speech/env1/lib/python3.6/site-packages/google/api_core/gapic_v1/config.py", line 23, in <m odule>
import grpc
File "/home/pi/python-speech/env1/lib/python3.6/site-packages/grpc/__init__.py", line 22, in <module>
from grpc import _compression
File "/home/pi/python-speech/env1/lib/python3.6/site-packages/grpc/_compression.py", line 15, in <module>
from grpc._cython import cygrpc
ImportError: /lib/arm-linux-gnueabihf/libc.so.6: version `GLIBC_2.33' not found (required by /home/pi/python-speech /env1/lib/python3.6/site-packages/grpc/_cython/cygrpc.cpython-36m-arm-linux-gnueabihf.so)
해당 오류를 읽어보았을때 GLIBC_2.33. 버전으로 업그레이드 하라고 하는것 같은데 해결방법을 모르겠어서 질문 드립니다.
제 버전은 sudo dpkg -l | grep libc6
명령어를 통해 확인해 보니
ii libc6:armhf 2.31-13+rpt2+rpi1+deb11u2 armhf GNU C Library: Shared libraries
ii libc6-dbg:armhf 2.31-13+rpt2+rpi1+deb11u2 armhf GNU C Library: detached debugging symbols
ii libc6-dev:armhf 2.31-13+rpt2+rpi1+deb11u2 armhf GNU C Library: Development Libraries and Header Files
2.31 버전으로 나오는거 같습니다 .
질문 읽어주셔서 감사합니다!
댓글 입력