Xcode and home-brew are installed on that machine We'll try tomorrow and tell you the result. Thanks.
Le mercredi 26 août 2020 à 22:58:36 UTC+2, dim...@gmail.com a écrit : > > > On Wed, 26 Aug 2020, 21:49 Zachary Scherr, <zsc...@gmail.com> wrote: > >> I think you need to run: >> >> sage -i openssl >> sage -f python3 >> >> and then you should be able to add packages through pip. >> > > I would be surprised if this works on > a machine without Xcode installed. > > >> On Wednesday, August 26, 2020 at 12:23:20 PM UTC-4 dim...@gmail.com >> wrote: >> >>> On Wed, Aug 26, 2020 at 5:10 PM David Coudert <david....@gmail.com> >>> wrote: >>> > >>> > Hello, >>> > >>> > I'm posting this here as it may help improving the documentation of >>> sage math and the install guide of Cplex. >>> > >>> > A colleague (with very little system knowledge) just installed >>> sagemath on his new macOS laptop using the precompiled binary >>> sage-9.1-OSX_10.15.4-x86_64.app.dmg. >>> > He also installed Cplex Studio 12.10. >>> > Then he followed the install guide of Cplex from >>> https://github.com/mkoeppe/sage-numerical-backends-cplex and got the >>> following error. >>> > I don't know how to solve this issue. >>> > >>> > Any help is more than welcome :)) >>> > >>> > Best, >>> > David. >>> > >>> > ===== >>> > aioli:~ nnisse$ sage -python -m pip install >>> sage-numerical-backends-cplex >>> > pip is configured with locations that require TLS/SSL, however the ssl >>> module in Python is not available. >>> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >>> >>> >>> >>> this is the 1st problem to fix, by doing >>> "sage -i openssl pyopenssl" >>> and crossing your fingers... >>> >>> >>> >>> >>> > Collecting sage-numerical-backends-cplex >>> > 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/sage-numerical-backends-cplex/ >>> > 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/sage-numerical-backends-cplex/ >>> > 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/sage-numerical-backends-cplex/ >>> > 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/sage-numerical-backends-cplex/ >>> > 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/sage-numerical-backends-cplex/ >>> > Could not fetch URL >>> https://pypi.org/simple/sage-numerical-backends-cplex/: There was a >>> problem confirming the ssl certificate: HTTPSConnectionPool(host=' >>> pypi.org', port=443): Max retries exceeded with url: >>> /simple/sage-numerical-backends-cplex/ (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 >>> sage-numerical-backends-cplex (from versions: ) >>> > No matching distribution found for sage-numerical-backends-cplex >>> > 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+...@googlegroups.com. >>> > To view this discussion on the web visit >>> https://groups.google.com/d/msgid/sage-devel/45eb9955-098f-4583-9716-b1651ce89845n%40googlegroups.com. >>> >>> >>> >> -- >> 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+...@googlegroups.com. >> > To view this discussion on the web visit >> https://groups.google.com/d/msgid/sage-devel/fbbc0b03-876b-42cb-bffd-1e0e8fa53e79n%40googlegroups.com >> >> <https://groups.google.com/d/msgid/sage-devel/fbbc0b03-876b-42cb-bffd-1e0e8fa53e79n%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/8ddbf9a4-c4a2-4356-a92f-2f0cfb45f2e6n%40googlegroups.com.