• 카테고리

    질문 & 답변
  • 세부 분야

    데이터 분석

  • 해결 여부

    미해결

profile 부분에서 오류가 납니다.

21.05.02 23:23 작성 조회수 26

1

삭제된 글입니다

답변 2

·

답변을 작성해보세요.

0

jinhijinhi님의 프로필

jinhijinhi

질문자

2021.05.03

seaborn 과 profiling 아래와 같이 설치는 된 것처럼 나오는데 안 되네요....

conda install seaborn

Collecting package metadata (current_repodata.json): ...working... done Solving environment: ...working... done # All requested packages already installed. Note: you may need to restart the kernel to use updated packages.

------------------------------------------------------------------------
import seaborn as sns

ModuleNotFoundError Traceback (most recent call last) <ipython-input-6-6aaba906c3a4> in <module> ----> 1 import seaborn as sns ModuleNotFoundError
: No module named 'seaborn'
-------------------------------------------------------------------------

conda install -c conda-forge pandas-profiling


-Collecting package metadata (current_repodata.json): ...working... done Solving environment: ...working... done ## Package Plan ## environment location: C:\Users\yjhan\anaconda3 added / updated specs: - pandas-profiling The following packages will be SUPERSEDED by a higher-priority channel: conda pkgs/main::conda-4.10.1-py38haa95532_1 --> conda-forge::conda-4.10.1-py38haa244fe_0 Preparing transaction: ...working... done Verifying transaction: ...working... done Executing transaction: ...working... done Note: you may need to restart the kernel to use updated packages.


--------------------------------------------
pandas_profiling.__version__

NameError                                 Traceback (most recent call last)
<ipython-input-5-98ba7a6c5e16> in <module>
----> 1 pandas_profiling.__version__

NameError: name 'pandas_profiling' is not defined

0

안녕하세요.  

pandas-profiling은 여러 라이브러리에 의존성이 있는 라이브러리라 설치나 사용이 조금 까다롭습니다.

일단 seaborn 이 정상동작하지 않는다면 다시 설치해야 할것 같습니다.

재설치 이후에도 어려움이 있다면 오류 메시지를 함께 올려주세요.

잘 해결되길 바랄게요.