`AttributeError: module 'wandb' has no attribute ...` のようなエラーをどのように修正できますか?
Support:
less than a minute
wandb
を Python でインポートする際に AttributeError: module 'wandb' has no attribute 'init'
や AttributeError: module 'wandb' has no attribute 'login'
といったエラーが発生した場合、wandb
がインストールされていないか、インストールが破損している可能性がありますが、カレントワーキングディレクトリーには wandb
ディレクトリーが存在しています。このエラーを修正するには、wandb
をアンインストールし、そのディレクトリーを削除してから wandb
をインストールしてください:
pip uninstall wandb; rm -rI wandb; pip install 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.