haven-jeon / PyKoSpacing

Automatic Korean word spacing with Python
GNU General Public License v3.0
397 stars 118 forks source link

안녕하세요 colab에서 개발자님께서 만든 라이브러리를 설치하는 과정 중에 오류가 발생하여 문의드려봅니다. #59

Closed JunBeomPark1120 closed 10 months ago

JunBeomPark1120 commented 11 months ago

!pip install git+https://github.com/haven-jeon/PyKoSpacing.git 해당 코드를 실행하는 과정에서 Collecting git+https://github.com/haven-jeon/PyKoSpacing.git Cloning https://github.com/haven-jeon/PyKoSpacing.git to /tmp/pip-req-build-fvh_57a6 Running command git clone --filter=blob:none --quiet https://github.com/haven-jeon/PyKoSpacing.git /tmp/pip-req-build-fvh_57a6 Resolved https://github.com/haven-jeon/PyKoSpacing.git to commit d1e2f93759b1bcc74b6aaa345a62c08701e5546e Preparing metadata (setup.py) ... done Collecting tensorflow==2.9.3 (from pykospacing==0.5) Downloading tensorflow-2.9.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (511.8 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 511.8/511.8 MB 3.2 MB/s eta 0:00:00 Collecting h5py==3.1.0 (from pykospacing==0.5) Downloading h5py-3.1.0.tar.gz (371 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 371.4/371.4 kB 28.3 MB/s eta 0:00:00 Installing build dependencies ... done Getting requirements to build wheel ... done error: subprocess-exited-with-error

× pip subprocess to install backend dependencies did not run successfully. │ exit code: 1 ╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip. Installing backend dependencies ... error error: subprocess-exited-with-error

× pip subprocess to install backend dependencies did not run successfully. │ exit code: 1 ╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

이러한 오류 메시지가 출력되었습니다. 혹시 해결가능한 부분이 있을까 해서 문의 드려봅니다. tensorflow와 h5py도 최신버전으로 업데이트 했지만 이유를 잘 모르겠습니다.

DoYoungNim commented 10 months ago

저도 동일한 오류가 뜹니다. 놓친 설정이나 해결 방법이 있을까요?

kyy1217 commented 10 months ago

안녕하세요, 저도 계속 동일한 오류가 발생합니다. 버전 호환을 시켜도 안돼서 혹시 해결 방법이 있을지 문의드리고 싶습니다. 감사합니다. image

haven-jeon commented 10 months ago

https://github.com/haven-jeon/PyKoSpacing/commit/04aeebcbe26b109486a642e57dc58665c4818cf3

새로 설치/테스트 해보시면 동작할겁니다.

image

kyy1217 commented 10 months ago

개발자님 안녕하세요,

오늘 다시 진행해보니 돌아갑니다. 너무 감사합니다.

항상 많이 배우고 있습니다. 감사합니다. 그럼 오늘도 좋은 하루 보내세요.

haven-jeon commented 10 months ago

감사합니다. 해당 이슈 클로징 합니다. ^^