• 카테고리

    질문 & 답변
  • 세부 분야

    데이터 분석

  • 해결 여부

    해결됨

pandas-profiling 설치 불가

22.05.16 21:16 작성 조회수 1.59k

1

pandas-profiling 설치가 안됩니다.

markupsafe 에러가 발생하면서 설치가 끝납니다...

 

 

위와 같이 나옵니다 ㅠㅠ

 

 

답변 3

·

답변을 작성해보세요.

0

후추맘님의 프로필

후추맘

질문자

2022.05.18


 
 
 
---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
Input In [1], in <cell line: 2>()
      1 #pandas profiling (기술통계 리포트 생성)
----> 2 import pandas_profiling
      4 pandas_profiling.__version__

ModuleNotFoundError: No module named 'pandas_profiling'


이렇게 에러가 뜹니다 ㅠㅠ
후추맘님의 프로필

후추맘

질문자

2022.05.18

그래서 두번째 명령문으로 실행해봤더니

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.

anaconda-project 0.10.2 requires ruamel-yaml, which is not installed.

aws-sam-cli 1.50.0 requires MarkupSafe==2.0.1, but you have markupsafe 2.1.1 which is incompatible.

aws-sam-cli 1.50.0 requires requests==2.25.1, but you have requests 2.27.1 which is incompatible.

 

에러가 발생합니다.

안녕하세요.

버전호환성 문제로 보여집니다. 번거로우시겠지만 아래 문구로 설치해 보시겠어요?

pip install pandas-profiling==3.1.0
후추맘님의 프로필

후추맘

질문자

2022.05.18

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.

anaconda-project 0.10.2 requires ruamel-yaml, which is not installed.

aws-sam-cli 1.50.0 requires requests==2.25.1, but you have requests 2.27.1 which is incompatible.

Successfully installed joblib-1.0.1 markupsafe-2.0.1 pandas-profiling-3.1.0 tangled-up-in-unicode-0.1.0

 

이렇게 뜹니다!

 

안녕하세요. pip 호환성 이슈가 있기는 하지만 pandas-profiling 은 잘 설치된 것으로 보여집니다.

로드가 되는지 확인해 보시겠어요?

후추맘님의 프로필

후추맘

질문자

2022.05.18

성공했습니다. 감사합니다!

와!🙌 감사합니다 :)

0

후추맘님의 프로필

후추맘

질문자

2022.05.18

(base) gusungju@guseongjuui-MacBookAir ~ % conda uninstall -c conda-forge pandas-profiling

Collecting package metadata (repodata.json): done

Solving environment: failed

 

PackagesNotFoundError: The following packages are missing from the target environment:

  - pandas-profiling

 

 

이와 같이 에러가 납니다.

안녕하세요. 제가 install 명령어를 잘못올려드렸네요.

아래 명령어로 다시 설치해 주시고 지금과 같이 오류 메시지를 함께 부탁드릴게요!

conda install -c conda-forge pandas-profiling

 

 

이 명령어로 오류가 난다면 아래 명령어로 다시 확인 부탁드리겠습니다.

pip install -U pandas-profiling

0

안녕하세요.

오류 메시지를 보니 권한 문제로 보여집니다.

아래 명령어로 설치해 보시고 오류 메시지를 텍스트로 올려주시면 답변에 도움이 됩니다.

conda 사용시 : conda uninstall -c conda-forge pandas-profiling