> ## Documentation Index
> Fetch the complete documentation index at: https://docs.wandb.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# `AttributeError: module 'wandb' has no attribute ...`와 같은 오류는 어떻게 해결하나요?

Python에서 `wandb`를 임포트할 때 `AttributeError: module 'wandb' has no attribute 'init'` 또는 `AttributeError: module 'wandb' has no attribute 'login'`와 같은 오류가 발생한다면, `wandb`가 설치되어 있지 않거나 설치가 손상되었고 현재 작업 디렉터리에 `wandb` 디렉터리가 존재할 가능성이 있습니다. 이 오류를 해결하려면 `wandb`를 제거하고 해당 디렉터리를 삭제한 다음 `wandb`를 다시 설치하세요:

```bash theme={null}
pip uninstall wandb; rm -rI wandb; pip install wandb
```

***

<Badge stroke shape="pill" color="orange" size="md">[Run 충돌](/ko/support/models/tags/run-crashes)</Badge>
