bit가 눈 앞에서 왔다갔다

아나콘다 numpy, typing-extension 버전 충돌 본문

카테고리 없음

아나콘다 numpy, typing-extension 버전 충돌

헬린인형 2022. 2. 14. 10:20

pip install -r requirements.txt를 했는데

에러가 떳다. 에서 버전충돌이 있는 거 같은데 에러문구가 너무 친절해서 고맙다.

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.
tensorflow-gpu 2.6.1 requires numpy~=1.19.2, but you have numpy 1.22.2 which is incompatible.
tensorflow-gpu 2.6.1 requires typing-extensions~=3.7.4, but you have typing-extensions 4.0.1 which is incompatible.

 

* 에러 해결

pip uninstall (numpy 또는 typing-extensions)

pip install (numpy 또는 typing-extensions)==(요구버전)

 

반응형
Comments