프로그래밍/에러가 났을때

[pip install onnx ERROR] Building wheels for collected packages: onnx Building wheel for onnx (setup.py) ... error error: subprocess-exited-with-error × python setup.py bdist_wheel did not run successfully.

개발자 덕구🐾 2022. 4. 1. 11:23
728x90

모델을 실행하기위해서 라이브러리를 다운받던중 에러가 발생했다. 

 

 

 

오케이 onnx가 설치하면 되겠네

 

 

 

에러가 났다. 

스택오버플로에서 몇개의 답을 알려줘서 따라해봐도 동일하다....

 

 

 

대체 뭐가 문제인거지...

 

setup.py가 잘 작동하지 않은것같은데...

wheel은 뭘까...

 

https://pypi.org/project/onnx/

 

onnx

Open Neural Network Exchange

pypi.org

여기서 보고 

 

이렇게 설치해보았다. 

 

또 동일한 에러가 발생하였다. 

 

 

 

 

 

그래도 포기하지않고 계속 구글링 하였다.

 

https://github.com/onnx/onnx/issues/4066

 

Installation failed using python 3.10 pip (Windows) · Issue #4066 · onnx/onnx

Bug Report Is the issue related to model conversion? No Describe the bug I wanted to install ONNX for my deep learning project following the installation guide. I'm using python 3.10.2 on windo...

github.com

여기 답변을 보고 

pip install -i https://test.pypi.org/simple/ onnx-weekly

을  입력하였다. 

 

 

 

 

다운이 되네...?

 

 

오예

 

onnx 설치 완료!

 

이제 onnxruntime 설치하면 된다. 

 

 

 

 

 

 

"이 포스팅은 쿠팡 파트너스 활동의 일환으로, 이에 따른 일정액의 수수료를 제공받습니다."

반응형