Ask Your Question

gbowling's profile - activity

2020-07-20 11:52:27 +0200 received badge  Notable Question (source)
2020-07-20 11:52:27 +0200 received badge  Famous Question (source)
2020-06-05 22:27:01 +0200 received badge  Popular Question (source)
2020-05-05 13:40:10 +0200 received badge  Nice Question (source)
2020-04-30 10:27:23 +0200 received badge  Student (source)
2020-04-30 03:42:29 +0200 received badge  Scholar (source)
2020-04-30 02:09:24 +0200 received badge  Editor (source)
2020-04-30 02:08:12 +0200 commented answer SSL error using sage -pip install to download a package

It seems I was able to install the .whl version from the website using -pip install packagename.whl! This ended up working. For whatever reason the .tar.gz file would not. Thank you!

2020-04-30 00:35:40 +0200 commented answer SSL error using sage -pip install to download a package

When trying the second option, with the command line tools installed, sage -i openssl, I got an error as well. [openssl-1.1.1b] ccache: error: Failed to create directory /Users/grant/.ccache/f/2: Permission denied [openssl-1.1.1b] Error building openssl.

The following package(s) may have failed to build (not necessarily during this run of 'make openssl'):

  • package: openssl-1.1.1b log file: /Applications/SageMath-9.0.app/Contents/Resources/sage/logs/pkgs/openssl-1.1.1b.log build directory: /Applications/SageMath-9.0.app/Contents/Resources/sage/local/var/tmp/sage/build/openssl-1.1.1b
2020-04-29 22:20:55 +0200 commented answer SSL error using sage -pip install to download a package

pen file = builtins.open(filename, mode, buffering) FileNotFoundError: [Errno 2] No such file or directory: 'VERSION'

----------------------------------------

Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/d0/5l10k_w88xlgch00r6b9hv6h0000gq/T/pip-req-build-_esll2si/ 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

2020-04-29 22:20:23 +0200 commented answer SSL error using sage -pip install to download a package

Thank you for the detailed comment. I am still getting errors using the first method. Processing /Users/grant/Downloads/multipolynomial_bases-1.2.tar.gz Complete output from command python setup.py egg_info: Traceback (most recent call last): File "<string>", line 1, in <module> File "/private/var/folders/d0/5l10k_w88xlgch00r6b9hv6h0000gq/T/pip-req-build-_esll2si/setup.py", line 22, in <module> version = readfile("VERSION"), # the VERSION file is shared with the documentation File "/private/var/folders/d0/5l10k_w88xlgch00r6b9hv6h0000gq/T/pip-req-build-_esll2si/setup.py", line 11, in readfile with open(filename, encoding='utf-8') as f: File "/Applications/SageMath-9.0.app/Contents/Resources/sage/local/lib/python3.7/codecs.py", line 898, in o

2020-04-29 14:43:56 +0200 asked a question 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.