<meta http-equiv="Content-Type" content="text/html; charset=utf-8">Another option that might be easier than all this pain would be to build a Python stack based on something older than 2.7.9. Given all that you've gone through, I think you should be able to hack the install script to do this based on tar<span></span>balls available from Python.org.<div><br></div><div>On other clusters I've used miniconda, which bundles its own OpenSSL library. I have no idea if that would work on a cray.<br><br>On Friday, January 8, 2016, Levy, Stuart A <<a href="mailto:salevy@illinois.edu">salevy@illinois.edu</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div>
<div style="direction:ltr;font-family:Tahoma;color:#000000;font-size:10pt">Hello yt people,<br>
<br>
I'm trying to install current yt-3.3dev on Blue Waters at NCSA, using the install_script.sh route.<br>
<br>
After hacking around the fact that it has an obsolete & unsafe openssl library as the default (I needed to pass LDFLAGS/CPPFLAGS to the python build to set the -L and -rpath to the non-default usable openssl), I'm having lots of trouble getting other component
 installs to work.   The yt_install.log has things like<br>
<br>
<blockquote><font face="Arial" size="2">Processing dependencies for matplotlib==1.4.3<br>
Searching for pytz<br>
Reading <a href="https://urldefense.proofpoint.com/v2/url?u=https-3A__pypi.python.org_simple_pytz_&d=BQMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=hgcBC3x6dKFoTrmFmMYYbKNfiHZlGLKliIidd1LwmHI&m=Ls5CmdoWSEOxfh7y0i2_ulZ-mVxFi8aoZj80n1ay07o&s=2lSxWQNubqbYU1wBbXVklbM6ATxxbE41upINI_q3QlU&e=" target="_blank">https://pypi.python.org/simple/pytz/</a><br>
Download error on <a href="https://urldefense.proofpoint.com/v2/url?u=https-3A__pypi.python.org_simple_pytz_&d=BQMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=hgcBC3x6dKFoTrmFmMYYbKNfiHZlGLKliIidd1LwmHI&m=Ls5CmdoWSEOxfh7y0i2_ulZ-mVxFi8aoZj80n1ay07o&s=2lSxWQNubqbYU1wBbXVklbM6ATxxbE41upINI_q3QlU&e=" target="_blank">https://pypi.python.org/simple/pytz/</a>: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:581) -- Some packages may not be found!<br>
Couldn't find index page for 'pytz' (maybe misspelled?)<br>
Scanning index of all packages (this may take a while)<br>
Reading <a href="https://urldefense.proofpoint.com/v2/url?u=https-3A__pypi.python.org_simple_&d=BQMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=hgcBC3x6dKFoTrmFmMYYbKNfiHZlGLKliIidd1LwmHI&m=Ls5CmdoWSEOxfh7y0i2_ulZ-mVxFi8aoZj80n1ay07o&s=vECspUEPPG7a0N2EcEVMWPQALQZS_phHzxwVotrFrNY&e=" target="_blank">https://pypi.python.org/simple/</a><br>
Download error on <a href="https://urldefense.proofpoint.com/v2/url?u=https-3A__pypi.python.org_simple_&d=BQMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=hgcBC3x6dKFoTrmFmMYYbKNfiHZlGLKliIidd1LwmHI&m=Ls5CmdoWSEOxfh7y0i2_ulZ-mVxFi8aoZj80n1ay07o&s=vECspUEPPG7a0N2EcEVMWPQALQZS_phHzxwVotrFrNY&e=" target="_blank">https://pypi.python.org/simple/</a>: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:581) -- Some packages may not be found!<br>
No local packages or download links found for pytz<br>
error: Could not find suitable distribution for Requirement.parse('pytz')<br>
</font></blockquote>
<br>
<font size="2"><font face="Arial">Yet when I run what seems like the same install by hand  ($DIR/bin/pip -v install pytz) it works fine, without error.<br>
<br>
I can then re-run install_script.sh, until it reaches the next dependency and fails, etc.   Each cycle takes 5-10 minutes so it's pretty tedious.<br>
<br>
***=> I don't understand why the internal-to-matplotlib-setup call to pip fails, while it succeeds when I run it by hand.<br>
<br>
<br>
A suspicion: could the CERTIFICATE_VERIFY_FAILED errors be hinting that Blue Waters has an https gateway to the outside world that rewrites SSL certificates?   I don't know whether that's true.   This page suggested a way to grab the needed root certificate
 and point env var PIP_CERT at it...<br>
    <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__stackoverflow.com_questions_25981703_pip-2Dinstall-2Dfails-2Dwith-2Dconnection-2Derror-2Dssl-2Dcertificate-2Dverify-2Dfailed-2Dcerti&d=BQMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=hgcBC3x6dKFoTrmFmMYYbKNfiHZlGLKliIidd1LwmHI&m=Ls5CmdoWSEOxfh7y0i2_ulZ-mVxFi8aoZj80n1ay07o&s=W2lZQJsTT7-pJe3TzhCiDhvoqT3VmEIJI5s1Jo9Xn9A&e=" target="_blank">
http://stackoverflow.com/questions/25981703/pip-install-fails-with-connection-error-ssl-certificate-verify-failed-certi</a><br>
but trying that didn't help in this case.   The yt-installed "pip" works fine when run by hand, but whatever matplotlib's setup.py is running still fails.<br>
<br>
<br>
<br>
<br>
</font></font></div>
</div>

</blockquote></div>