Wie entferne ich Pip von Python in msys2-Umgebung?

679
dukasvili

Ich habe pip auf msys2 (portabledevops) mit installiert, python get-pip.py aber ich erhalte diesen Fehler

$ pip search youtube_dl Traceback (most recent call last): File "/usr/bin/pip", line 7, in <module> from pip import main ImportError: cannot import name 'main'  $ pip install --upgrade Traceback (most recent call last): File "/usr/bin/pip", line 7, in <module> from pip import main ImportError: cannot import name 'main' 

Wie entferne ich das Rohr komplett und installiere es erneut? Ich habe beide Python2 und Python3 installiert

0

1 Antwort auf die Frage

-1
roothaxor

Einfacher Befehl: python -m pip uninstall pip

es wird funktionieren, weil pip auch ein Modul ist