gcc が環境にない場合、wandb Python ライブラリをインストールする方法は?
Support:
less than a minute
wandb をインストールする際に以下のエラーが発生した場合:
unable to execute 'gcc': No such file or directory
error: command 'gcc' failed with exit status 1
プリビルドのホイールから psutil を直接インストールしてください。Python バージョンとオペレーティングシステムを https://pywharf.github.io/pywharf-pkg-repo/psutil で確認してください。
例えば、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 のインストールを完了してください。
フィードバック
このページは役に立ちましたか?
Glad to hear it! If you have more to say, please let us know.
Sorry to hear that. Please tell us how we can improve.