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