This is not a solution to the pip/ssl problem, but for a single package like snakeviz, you can go to https://pypi.python.org/pypi/snakeviz, download the tar.gz file, and then do
sage -pip install /path/to/snakeviz-0.4.1.tar.gz -- John On Friday, May 5, 2017 at 9:11:48 AM UTC-7, Nicolas M. Thiéry wrote: > > > Just as an additional point of data: as can be seen in the error > message, this is on a Mac. Despite quite some e-mail ping-pong, I have > been unsuccessful trying to help Anne. > > Sooo ... What's the recommended way to compile sage on a Mac to have > SSL and thus pip support? > > Thanks, > Nicolas > > On Fri, May 05, 2017 at 08:44:38AM -0700, Anne Schilling wrote: > > I am having some trouble installing pip packages: > > sage -pip install snakeviz > > pip is configured with locations that require TLS/SSL, however the > ssl > > module in Python is not available. > > Collecting snakeviz > > Could not fetch URL https://pypi.python.org/simple/snakeviz/: > There > > was a problem confirming the ssl certificate: Can't connect to HTTPS > > URL because the SSL module is not available. - skipping > > Could not find a version that satisfies the requirement snakeviz > > (from versions: ) > > No matching distribution found for snakeviz > > When trying > > make ssl > > ... > > [pyopenssl] Could not fetch URL [1] > https://pypi.python.org/simple/pyopenssl/: > > There was a problem confirming the ssl certificate: Can't connect to > HTTPS URL b > > ecause the SSL module is not available. - > > I do have openssl installed: > > openssl version -a > > OpenSSL 1.1.0e 16 Feb 2017 > > built on: reproducible build, date unspecified > > platform: darwin64-x86_64-cc > > compiler: cc -DDSO_DLFCN -DHAVE_DLFCN_H -DNDEBUG -DOPENSSL_THREADS > -DOPENSSL_NO_ > > STATIC_ENGINE -DOPENSSL_PIC -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT > -DOPENSSL_ > > BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM > -DRC4_AS > > M -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DGHASH_ASM > -DECP_NISTZ256_ASM -DP > > ADLOCK_ASM -DPOLY1305_ASM > -DOPENSSLDIR="\"/usr/local/mac-dev-env/openssl-1.1.0e/ > > ssl\"" > -DENGINESDIR="\"/usr/local/mac-dev-env/openssl-1.1.0e/lib/engines-1.1\"" > > OPENSSLDIR: "/usr/local/mac-dev-env/openssl-1.1.0e/ssl" > > ENGINESDIR: "/usr/local/mac-dev-env/openssl-1.1.0e/lib/engines-1.1" > > Any ideas? > > Anne > > > > -- > > 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 [2]sage-devel+...@googlegroups.com <javascript:>. > > To post to this group, send email to [3]sage-...@googlegroups.com > <javascript:>. > > Visit this group at [4]https://groups.google.com/group/sage-devel. > > For more options, visit [5]https://groups.google.com/d/optout. > > > > References > > > > 1. https://pypi.python.org/simple/pyopenssl/ > > 2. mailto:sage-devel+...@googlegroups.com <javascript:> > > 3. mailto:sage-...@googlegroups.com <javascript:> > > 4. https://groups.google.com/group/sage-devel > > 5. https://groups.google.com/d/optout > > Nicolas > -- > Nicolas M. Thiéry "Isil" <nth...@users.sf.net <javascript:>> > http://Nicolas.Thiery.name/ > -- 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 post to this group, send email to sage-devel@googlegroups.com. Visit this group at https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.