SSL: CERTIFICATE_VERIFY_FAILED error with python3 on macOS 10.15

后端 未结 5 2127
一向
一向 2021-02-06 00:01

/usr/bin/python3 from Xcode/CLT on macOS 10.15 (DB6/PB5 at the moment, with Xcode 11 beta 6) fails with SSL: CERTIFICATE_VERIFY_FAILED for all HTTPS re

5条回答
  •  悲哀的现实
    2021-02-06 00:41

    python3.6 -c 'import requests; requests.get("https://www.apple.com/")'

    Try using this. Check if this works for you.

提交回复
热议问题