Deprecated: join(): Passing glue string after array is deprecated. Swap the parameters in /www/htdocs/martg/_app/core/api/path.php on line 309

Deprecated: join(): Passing glue string after array is deprecated. Swap the parameters in /www/htdocs/martg/_app/core/api/path.php on line 309

Deprecated: Array and string offset access syntax with curly braces is deprecated in /www/htdocs/martg/_app/core/api/helper.php on line 56

Deprecated: join(): Passing glue string after array is deprecated. Swap the parameters in /www/htdocs/martg/_app/core/api/path.php on line 309

Deprecated: join(): Passing glue string after array is deprecated. Swap the parameters in /www/htdocs/martg/_app/core/api/path.php on line 309

Deprecated: join(): Passing glue string after array is deprecated. Swap the parameters in /www/htdocs/martg/_app/core/api/path.php on line 309

Deprecated: join(): Passing glue string after array is deprecated. Swap the parameters in /www/htdocs/martg/_app/core/api/path.php on line 309
blindschleiche

blindschleiche

Python 3.x MacOS: SSL: CERTIFICATE_VERIFY_FAILED

Nachdem ich mein Python 3.4 unter OS X High Sierra mit dem offiziellen Installer auf 3.6 aktualisert hatte liefen einige meiner Skripte nicht mehr die auf Internetressourcen zugreifen.

Und bei Befehlen wie diesem hier:

outp = urlopen('https://irgendwas.com/pfad')

kam der Fehler:

urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:777)>

Abhilfe hat das ausführen des mitgeliferten Komandos:

/Applications/Python 3.6/Install Certificates.command

geschafft.