Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

SSL error using sage -pip install to download a package

I have gotten the following error when trying to use sage -pip install "packagename" in terminal.

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/multipolynomial-bases/ 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

I have tried looking up this problem and it seems to have been somewhat common, but from what I understand this should work easily with the current version of sage. I have tried many "fixes" that I have not gotten to work, including downloading the package and trying to use pip to install it locally. Please let me know if anyone knows how I may fix this!

I am using sage 9.0 on OSX 10.11.6.

SSL error using sage -pip install to download a package

I have gotten the following error when trying to use sage -pip install "packagename" in terminal.

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/multipolynomial-bases/
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

skipping

I have tried looking up this problem and it seems to have been somewhat common, but from what I understand this should work easily with the current version of sage. I have tried many "fixes" that I have not gotten to work, including downloading the package and trying to use pip to install it locally. Please let me know if anyone knows how I may fix this!

I am using sage 9.0 on OSX 10.11.6. 10.11.6.

SSL error using sage -pip install to download a package

I have gotten the following error when trying to use sage -pip install "packagename" in terminal.

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/multipolynomial-bases/
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

I have tried looking up this problem and it seems to have been somewhat common, but from what I understand this should work easily with the current version of sage. I have tried many "fixes" that I have not gotten to work, including downloading the package and trying to use pip to install it locally. Please let me know if anyone knows how I may fix this!

I am using sage 9.0 on OSX 10.11.6.

Error Update: After using -pip install locally, I get the following error message when trying to import the package in sage.

from multipolynomial_bases import *

ModuleNotFoundError Traceback (most recent call last) <ipython-input-1-09520b66ce67> in <module>() ----> 1 from multipolynomial_bases import *

/Applications/SageMath-9.0.app/Contents/Resources/sage/local/lib/python3.7/site-packages/multipolynomial_bases/__init__.py in <module>() ----> 1 from multivariate_polynomials import MultivariatePolynomialAlgebra 2 #from double_multivariate_polynomials import DoubleMultivariatePolynomialAlgebra 3 from bases import SchubertPolynomials, DemazurePolynomials, DemazureHatPolynomials, GrothendieckPolynomials

ModuleNotFoundError: No module named 'multivariate_polynomials'

SSL error using sage -pip install to download a package

I have gotten the following error when trying to use sage -pip install "packagename" in terminal.

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/multipolynomial-bases/
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

I have tried looking up this problem and it seems to have been somewhat common, but from what I understand this should work easily with the current version of sage. I have tried many "fixes" that I have not gotten to work, including downloading the package and trying to use pip to install it locally. Please let me know if anyone knows how I may fix this!

I am using sage 9.0 on OSX 10.11.6.

Error Update: After using -pip install locally, I get the following error message when trying to import the package in sage.

from multipolynomial_bases import *

ModuleNotFoundError Traceback (most recent call last) <ipython-input-1-09520b66ce67> in <module>() ----> 1 from multipolynomial_bases import *

/Applications/SageMath-9.0.app/Contents/Resources/sage/local/lib/python3.7/site-packages/multipolynomial_bases/__init__.py in <module>() ----> 1 from multivariate_polynomials import MultivariatePolynomialAlgebra 2 #from double_multivariate_polynomials import DoubleMultivariatePolynomialAlgebra 3 from bases import SchubertPolynomials, DemazurePolynomials, DemazureHatPolynomials, GrothendieckPolynomials

ModuleNotFoundError: No module named 'multivariate_polynomials'