Would you like to put one of the option in Homebrew? On Tue, Mar 3, 2020, 5:27 AM Nathan Dunfield <nat...@dunfield.info> wrote:
> Unfortunately, no recent SageMath binary for macOS comes with a working > SSL lib. Two fixes: > > 1) Download "mac_sage9.tgz" from > > https://bitbucket.org/t3m/snappy/downloads/ > > unpack, and follow the instructions. > > 2) Assuming you have the XCode command line tools installed, the following > usually works to enable SSL on SageMath 9.0: > > /Applications/SageMath-9.0.app/sage -i openssl > /Applications/SageMath-9.0.app/sage -f python3 > > Note the second command will take quite some time to run as it will > recompile much of the Sage library proper. > > Best, > > Nathan > > > > > > > On Monday, March 2, 2020 at 4:21:05 AM UTC-6, Junwei Wang wrote: >> >> (sage-sh) >> junwei@jwang-imac:~/git/tool_whitebox-engine/web_service/services/api$ >> which pip >> /Applications/SageMath-9.0.app/Contents/Resources/sage/local/bin/pip >> (sage-sh) >> junwei@jwang-imac:~/git/tool_whitebox-engine/web_service/services/api$ >> pip install tqdm >> pip is configured with locations that require TLS/SSL, however the ssl >> module in Python is not available. >> Collecting tqdm >> Retrying (Retry(total=4, connect=None, read=None, redirect=None, >> status=None)) after connection broken by 'SSLError("Can't connect to HTTPS >> URL because the SSL module is not available.")': /simple/tqdm/ >> Retrying (Retry(total=3, connect=None, read=None, redirect=None, >> status=None)) after connection broken by 'SSLError("Can't connect to HTTPS >> URL because the SSL module is not available.")': /simple/tqdm/ >> Retrying (Retry(total=2, connect=None, read=None, redirect=None, >> status=None)) after connection broken by 'SSLError("Can't connect to HTTPS >> URL because the SSL module is not available.")': /simple/tqdm/ >> Retrying (Retry(total=1, connect=None, read=None, redirect=None, >> status=None)) after connection broken by 'SSLError("Can't connect to HTTPS >> URL because the SSL module is not available.")': /simple/tqdm/ >> Retrying (Retry(total=0, connect=None, read=None, redirect=None, >> status=None)) after connection broken by 'SSLError("Can't connect to HTTPS >> URL because the SSL module is not available.")': /simple/tqdm/ >> Could not fetch URL https://pypi.org/simple/tqdm/: There was a problem >> confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', >> port=443): Max retries exceeded with url: /simple/tqdm/ (Caused by >> SSLError("Can't connect to HTTPS URL because the SSL module is not >> available.")) - skipping >> Could not find a version that satisfies the requirement tqdm (from >> versions: ) >> No matching distribution found for tqdm >> pip is configured with locations that require TLS/SSL, however the ssl >> module in Python is not available. >> Could not fetch URL https://pypi.org/simple/pip/: There was a problem >> confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', >> port=443): Max retries exceeded with url: /simple/pip/ (Caused by >> SSLError("Can't connect to HTTPS URL because the SSL module is not >> available.")) - skipping >> > -- > You received this message because you are subscribed to the Google Groups > "sage-devel" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to sage-devel+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/sage-devel/b596fdb1-850b-4742-9700-555d9d32149c%40googlegroups.com > <https://groups.google.com/d/msgid/sage-devel/b596fdb1-850b-4742-9700-555d9d32149c%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/CAH68Sg26FkxJExdPkftwRcH2Jo3cEA-q2Hd78OuyzAMUbkX8Vg%40mail.gmail.com.