Python Package Indexer - WARNING: There was an error checking the latest version of pip.

Probleme bei der Installation?
Antworten
Spherix
User
Beiträge: 1
Registriert: Dienstag 14. März 2023, 23:40

Hallo
Ich versuche Python auf meinem Rechner zum laufen zu bringen: Windows 10 | Python 3.10
Gerne möchte ich Frida-Tools installieren, doch leider erhalte ich die Meldung

pip3 install Frida
Defaulting to user installation because normal site-packages is not writeable
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', FileNotFoundError(2, 'No such file or directory'))': /simple/frida/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', FileNotFoundError(2, 'No such file or directory'))': /simple/frida/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', FileNotFoundError(2, 'No such file or directory'))': /simple/frida/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', FileNotFoundError(2, 'No such file or directory'))': /simple/frida/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', FileNotFoundError(2, 'No such file or directory'))': /simple/frida/
ERROR: Could not find a version that satisfies the requirement Frida (from versions: none)
ERROR: No matching distribution found for Frida

Ich denke ich habe ein Problem mit dem Python Package Indexer - denn wenn ich pip aktualisieren möchte erscheint diese Meldung:
py -m pip install --upgrade pip
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: pip in c:\program files\python310\lib\site-packages (22.3.1)
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', FileNotFoundError(2, 'No such file or directory'))': /simple/pip/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', FileNotFoundError(2, 'No such file or directory'))': /simple/pip/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', FileNotFoundError(2, 'No such file or directory'))': /simple/pip/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', FileNotFoundError(2, 'No such file or directory'))': /simple/pip/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', FileNotFoundError(2, 'No such file or directory'))': /simple/pip/
WARNING: There was an error checking the latest version of pip.

Die Systemvariabeln sind gesetzt -
C:\Users\spherix\AppData\Local\Programs\Python\Python310\Scripts
C:\Users\spherix\AppData\Local\Programs\Python\Python310\

Ich habe bereits Python deinstallier 3.11 installiert und wieder 3.10 installiert und erhalte immer noch diesen Feheler.

Proxy habe ich keinen - auich die Prüfung in der Registry....
Kann mir jemand weiterhelfen? Vielen Dank
bb1898
User
Beiträge: 200
Registriert: Mittwoch 12. Juli 2006, 14:28

Mehr als eine Teilantwort habe ich nicht, aber eins fällt mir auf:

Offensichtlich ist Dein Python für alle Benutzer installiert (C:\program files\python310\...), aber Du rufst pip ohne Administrator-Rechte auf. Das ergibt die Meldung "Defaulting to user installation ...". Ich bin nicht wirklich sicher, ob so etwas funktionieren könnte; ich weiß nur, dass ich selbst es systematisch vermeide. Wenn mir so ein pip-Aufruf ohne Administrator-Rechte unterläuft, lösche ich alles, was dabei installiert wurde und wiederhole die Installation als Administrator. Das pflegt dann zu klappen und das fragliche Paket im vorhandenen Python-site-packages-Verzeichnis unterzubringen, wo es im Normalfall hingehört.
Antworten