<div dir="ltr">Hi Deborah,<div><br></div><div>Sorry to hear you're having trouble.  So with yt 3.2.1 we're shipping a newer version of python 2.7. As of python 2.7.9, the SSL libraries shipped with python have been updates, and we've had lots of reports of people on somewhat older clusters no longer being able to run the install script.</div><div><br></div><div>It seems your python is able to link against libopenssl and build an _ssl module, but for some reason when it actually tries to *make* an SSL connection with <a href="https://bootstrap.pypa.io">https://bootstrap.pypa.io</a>, it dies. This could be because the OpenSSL library installed on the cluster doesn't support either sha256 certificates or SAN certificates. Since most clusters don't get OS updates very often, this is a recipe for sadness for our install script.</div><div><br></div><div>One of the pip developers on the pypa channel on freenode just suggested to me that we might get more information if you edit the install script where it calls get_pip.py to include a "-vvvv" option. We call get_pip.py here:</div><div><br></div><div><a href="https://bitbucket.org/yt_analysis/yt/src/stable/doc/install_script.sh?at=yt-3.2.1&fileviewer=file-view-default#install_script.sh-895">https://bitbucket.org/yt_analysis/yt/src/stable/doc/install_script.sh?at=yt-3.2.1&fileviewer=file-view-default#install_script.sh-895</a><br></div><div><br></div><div>And you'd need to add "-vvvv" getween "get_pip.py" and "2>&1". This will show more output when the script fails.</div><div><br></div><div>On the other hand, to sidestep these issues with source installs, you might have more luck using the get_yt.sh script, which sets up a miniconda environment that includes its own openssl installation separate from the OS. You can download get_yt.sh using curl or wget from the following url:</div><div><br></div><div><a href="https://bitbucket.org/yt_analysis/yt/raw/1cd224904d442bd872f6c8969d4a12935cb7ac64/doc/get_yt.sh">https://bitbucket.org/yt_analysis/yt/raw/1cd224904d442bd872f6c8969d4a12935cb7ac64/doc/get_yt.sh</a><br></div><div><br></div><div>You can run the get_yt.sh script just like install_script.sh. By default it will install a binary version of yt from the anaconda package servers, but you can also build yt from source by setting <span style="color:rgb(0,0,0);white-space:pre-wrap">INST_YT_SOURCE=1 near the top of the script.  Once the script is done, simply add the yt-conda/bin folder to your path and then everything should be working.</span></div><div><span style="color:rgb(0,0,0);white-space:pre-wrap"><br></span></div><div><span style="color:rgb(0,0,0);white-space:pre-wrap">Hope that helps!</span></div><div><span style="color:rgb(0,0,0);white-space:pre-wrap"><br></span></div><div><span style="color:rgb(0,0,0);white-space:pre-wrap">-Nathan</span></div><div><span style="color:rgb(0,0,0);white-space:pre-wrap"><br></span></div><div><span style="color:rgb(0,0,0);white-space:pre-wrap"><br></span></div><div><span style="color:rgb(0,0,0);white-space:pre-wrap"><br></span></div><div><span style="color:rgb(0,0,0);white-space:pre-wrap"><br></span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 9, 2015 at 7:01 PM, Deborah Bard <span dir="ltr"><<a href="mailto:djbard@lbl.gov" target="_blank">djbard@lbl.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello,<div> I'm trying to install yt-3.2.1 at NERSC and I'm running into a curious issue. It appears the install script cannot locate an acceptable version of pip. The error message is:</div><div>*snip*</div><div><div>running install_scripts</div><div>copying build/scripts-2.7/hg -> /usr/common/software/yt/3.2.1/yt-x86_64/bin</div><div>changing mode of /usr/common/software/yt/3.2.1/yt-x86_64/bin/hg to 775</div><div>running install_egg_info</div><div>Writing /usr/common/software/yt/3.2.1/yt-x86_64/lib/python2.7/site-packages/mercurial-3.4-py2.7.egg-info</div><div>2015-11-09 15:29:38 URL:<a href="https://bootstrap.pypa.io/get-pip.py" target="_blank">https://bootstrap.pypa.io/get-pip.py</a> [1412744/1412744] -> "get-pip.py" [1]</div><div>Collecting pip</div><div>  Could not find a version that satisfies the requirement pip (from versions: )</div><div>No matching distribution found for pip</div></div><div><br></div><div>The full log can be found here: <a href="https://www.dropbox.com/s/frfb7kk354phjah/yt_install.log?dl=0" target="_blank">https://www.dropbox.com/s/frfb7kk354phjah/yt_install.log?dl=0</a></div><div>Any ideas what I can do to debug this? v3.1 has no trouble finding a satisfactory pip version so I'm a bit stumped. <br></div><div><br></div><div> best,</div><div>  Debbie</div><div><br></div></div>
<br>_______________________________________________<br>
yt-users mailing list<br>
<a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" rel="noreferrer" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
<br></blockquote></div><br></div>