Skip to main content
wandb 설치 시 다음과 같은 에러가 발생하는 경우:
unable to execute 'gcc': No such file or directory
error: command 'gcc' failed with exit status 1
사전 빌드된 wheel 파일을 통해 psutil을 직접 설치하세요. https://pywharf.github.io/pywharf-pkg-repo/psutil 에서 사용 중인 Python 버전과 운영체제에 맞는 파일을 확인할 수 있습니다. 예를 들어, Linux 환경의 Python 3.8에서 psutil을 설치하는 방법은 다음과 같습니다:
WHEEL_URL=https://github.com/pywharf/pywharf-pkg-repo/releases/download/psutil-5.7.0-cp38-cp38-manylinux2010_x86_64.whl#sha256=adc36dabdff0b9a4c84821ef5ce45848f30b8a01a1d5806316e068b5fd669c6d
pip install $WHEEL_URL
psutil 설치를 마친 후, pip install wandb를 실행하여 wandb 설치를 완료합니다.