편집 기록

편집 기록
  • 프로필 nowp님의 편집
    날짜2022.01.21

    ImportError: /lib/arm-linux-gnueabihf/libc.so.6: version `GLIBC_2.33' not found 에러


    안녕하세요 구글 클라우드 플랫폼에서 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 버전으로 나오는거 같습니다 .

    질문 읽어주셔서 감사합니다!

  • 프로필 0Roo님의 편집
    날짜2022.01.21

    ImportError: /lib/arm-linux-gnueabihf/libc.so.6: version `GLIBC_2.33' not found 에러


    안녕하세요 구글 클라우드 플랫폼에서 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 from google.cloud import speech File "/home/pi/python-speech/env1/lib/python3.6/site-packages/google/cloud/speech/init.py", line 17, in 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 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 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 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 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 import grpc File "/home/pi/python-speech/env1/lib/python3.6/site-packages/grpc/init.py", line 22, in from grpc import _compression File "/home/pi/python-speech/env1/lib/python3.6/site-packages/grpc/_compression.py", line 15, in 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 버전으로 나오는거 같습니다 .

    질문 읽어주셔서 감사합니다!