공부 기록/데이터분석
[Jupyter Notebook] Seaborn Update문제 해결
니니혜
2022. 8. 28. 17:15
주피터 노트북으로 데이콘 관련 데이터분석 EDA과정에서 Seaborn 라이브러리를 사용하는데 문제가 생겼다.
sns.histplot(data=train['Age']
-> AttributeError: module 'seaborn' has no attribute 'histplot' 라고 떠서 사용할 수 없었음.
에러 메세지
Consider using the `--user` option or check the permissions. seaborn
https://stackoverflow.com/questions/64815227/attributeerror-module-seaborn-has-no-attribute-histplot
처음에는
'
pip install -U seaborn
이것도 같은 오류가난다.
해결방법.
pip 설치시 --user 옵션 주기!
pip install --user seaborn --upgrade
그리고 Kernel Restart 하기

성공! ㅎ_ㅎ