2010년 5월 1일, 2막

[python] pip 설치 시 'cannot uninstall~' 발생 본문

Computer/Tips

[python] pip 설치 시 'cannot uninstall~' 발생

창천(蒼天) 2021. 3. 26. 10:23

내 경우, Anaconda에 pip로 패키지 설치 시에 다음과 같은 오류 메시지가 발생했다.

ERROR: Cannot uninstall  <PackageName>. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.

 

이때 설치 시에 '--ignore-installed' 옵션을 넣어서 처리하면 설치가 된다...

 

pip install --ignore-installed [package name]==[package version]

 

출처 ; python - pip cannot uninstall <package>: "It is a distutils installed project" - Stack Overflow

 

pip cannot uninstall : "It is a distutils installed project"

I tried to install the Twilio module: sudo -H pip install twilio And I got this error: Installing collected packages: pyOpenSSL Found existing installation: pyOpenSSL 0.13.1 Cannot uninstall '

stackoverflow.com

 

'Computer > Tips' 카테고리의 다른 글

[ORACLE] ORA-28002: the password will expire within 7 days  (0) 2021.07.29
STS 한글깨짐  (0) 2021.04.27
[Java] Map/List log 출력  (0) 2021.03.22
elasticsearch 설치 in ubuntu 20.04  (0) 2021.03.08
[jQuery] datatables with checkbox  (0) 2021.02.18