boostcampaitech6 / level2-3-nlp-finalproject-nlp-02

level2-3-nlp-finalproject-nlp-02 created by GitHub Classroom
GNU General Public License v3.0
2 stars 4 forks source link

pyaudio, audiorecorder 관련 이슈 #26

Closed C7C4FF closed 6 months ago

C7C4FF commented 6 months ago

Describe the situation

image

작업하고 있다가 pretest, test 에서 audiorecorder으로 에러가 뜨는 거 확인하고 조치 취했습니다.

Additional context

Note: This error originates from the build backend, and is likely not a problem with poetry but with pyaudio (0.2.14) not supporting PEP 517 builds. You can verify this by running 'pip wheel --no-cache-dir --use-pep517 "pyaudio (==0.2.14)"'.

Failed to build pyaudio
ERROR: Failed to build one or more wheels

  ERROR: Failed building wheel for pyaudio
Failed to build pyaudio
ERROR: Could not build wheels for pyaudio, which is required to install pyproject.toml-based projects

pyaudio 관련 설치 오류였는데, wheel 문제도 portaudio를 설치해도 안 되더라구요. 버전을 바꾸면서 dev 파일을 설치하지 않아, 헤더 파일이 없기에 pyaudio가 설치되지 않는 문제였습니다. (pyaudio is only available as source distributions officially. .. 라고 하네요.)

sudo apt install -y python3.11-dev 하여 설치 완료했습니다.

레퍼런스 남깁니다.

https://www.reddit.com/r/learnpython/comments/v05da2/comment/iaegeo1/

C7C4FF commented 6 months ago

기록용으로 남겨두고, 해결했으니 이슈는 닫겠습니다.

C7C4FF commented 6 months ago

ffmpeg, streamlit-audiorecorder 다시 설치했습니다.