This package is also prepared as an optional sage package. "sage -i sage_numerical_backends_cplex" suffices. See https://doc.sagemath.org/html/en/thematic_tutorials/linear_programming.html#solvers-backends
On Wednesday, August 26, 2020 at 9:10:33 AM UTC-7, David Coudert 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. > 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/5f638b22-f185-45cc-8cc3-c9c0d7ae12eeo%40googlegroups.com.