Pakete können nicht über PIP auf macOS installiert werden

Post a reply

Smilies
:) :( :oops: :chelo: :roll: :wink: :muza: :sorry: :angel: :read: *x) :clever:
View more smilies

BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: Pakete können nicht über PIP auf macOS installiert werden

by Anonymous » 06 May 2025, 12:01

Ich versuche, ein Paket auf meinem Mac zu installieren, ich habe es von der Arbeit bekommen und es ist etwas kompliziert, da ich zwischen allen von Sicherheit hergestellten und IT Python frei installieren konnte.

Code: Select all

WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 8] nodename nor servname provided, or not known')': /simple/requests/
for some time, then I set up proxy with:
set HTTP_PROXY=http://username:[email protected]:port
set HTTPS_PROXY=http://username:[email protected]:port
Dann trat meine erste Frage auf, was ist der Unterschied zwischen Set und Export, da ich anscheinend die gleichen Ergebnisse erzielen kann: Gleichzeitig enthält mein Passwort spezielle Zeichen? Dann sieht diese dekodierte URL wie http: // myname: haslo @@ proxy.server: port? />
http_proxy=http://domain%5C%5Ca123456:haslo%[email protected]:300
https_proxy=https://domain%5C%5Ca123456:haslo%40@pr ... oxy./ploxy /> Dann, wenn ich PIP mache, installiere ich PyTest (oder Anfragen), ich bekomme: < /p>

Code: Select all

Could not fetch URL https://pypi.org/simple/pytest/: There was a [url=viewtopic.php?t=20324]problem[/url] confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pytest/ (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1129)'))) - skipping
ERROR: Could not find a version that satisfies the requirement pytest (from versions: none)
ERROR: No matching distribution found for pytest
Could not fetch URL https://pypi.org/simple/pip/: There was a [url=viewtopic.php?t=20324]problem[/url] confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pip/ (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1129)'))) - skipping
und ich stecke hier fest, ich habe es mit einem Zertifikat versucht (dieses -http://curl.haxx.se/ca/cacert.pem)
PIP ---Cert ./cact.pem installieren Sie PyTest

Top