-
Python ERROR : pip 종속성(dependency) 해결 없음 문제메모/오류 메모 2023. 7. 14. 23:27
저의 경우 해당 에러가 tesorflow를 pip로 설치 중에 에러가 발생하였습니다.
더보기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.
gensim 4.3.0 requires FuzzyTM>=0.4.0, which is not installed.
tables 3.8.0 requires blosc2~=2.0.0, which is not installed.
tables 3.8.0 requires cython>=0.29.21, which is not installed.
astroid 2.14.2 requires typing-extensions>=4.0.0; python_version < "3.11", but you have typing-extensions 3.7.4.3 which is incompatible.
black 0.0 requires typing-extensions>=3.10.0.0; python_version < "3.10", but you have typing-extensions 3.7.4.3 which is incompatible.
matplotlib 3.7.1 requires numpy>=1.20, but you have numpy 1.19.5 which is incompatible.
numba 0.57.0 requires numpy<1.25,>=1.21, but you have numpy 1.19.5 which is incompatible.
pandas 1.5.3 requires numpy>=1.20.3; python_version < "3.10", but you have numpy 1.19.5 which is incompatible.
pylint 2.16.2 requires typing-extensions>=3.10.0; python_version < "3.10", but you have typing-extensions 3.7.4.3 which is incompatible.
python-lsp-black 1.2.1 requires black>=22.3.0, but you have black 0.0 which is incompatible.
xarray 2022.11.0 requires numpy>=1.20, but you have numpy 1.19.5 which is incompatible.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.
위 에러 중 ERROR : 하고 이게 전체적으로 무슨 종류의 에러인지 알려주는 부분을 번역해보면
pip의 종속성 해결기는 현재 설치된 모든 패키지를 고려하지 않습니다. 이 동작은 다음과 같은 종속성 충돌의 원인입니다.
라며 그 아래로 무엇들이 원인이 되었는지 빨간 글씨로 알려줍니다(맨 위의 전체 에러 내용 참조해주세요)
그리고 저의 경우 바로 아래에 성공적으로 설치되었다면서 설치가 종료되었지만 에러는 넘어갈 수 없기에
https://nate9389.tistory.com/2201
【Python】 파이썬 주요 트러블슈팅 [21-40]
파이썬 주요 트러블슈팅 [21-40] 추천글 : 【Python】 파이썬 목차 21. rpy2.rinterface_lib.embedded.RRuntimeError: Error in library(ggplot2) : there is no package called 'ggplot2' ⑴ (package) 해결책 : R로 접속한 뒤 install.package
nate9389.tistory.com
위 블로그의 22번의 방법처럼 설치 명령어 뒤에
pip install ~설치할 것~ --no_deps
를 붙여 의존성(dependency)를 무시하고 설치하는 옵션을 붙이기 보다는
https://heroine-day.tistory.com/99
Colab | deeplabcut 설치 중 error
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. albumentations 0.1.12 requires imgaug=0.2.5, but you have imgaug 0.2.9 which is i
heroine-day.tistory.com
위 블로그처럼 단순히 재설치를 해보니 에러가 나지 않고 설치가 완료되었습니다.
: 결론
설치 명령어 뒤에 --no_deps 옵션을 붙여주거나, 다시 설치를 시도해보자
'메모 > 오류 메모' 카테고리의 다른 글
Git ERROR : 403 push 해결 방법 (0) 2023.11.21 Python TypeError: 'NoneType' object is not subscriptable (1) 2022.08.02