You can install mercurial using conda:<div><br></div><div>"c<span></span>onda install mercurial"</div><div><br></div><div>That will using conda's SSL library and should fix the issue you're seeing.<br><br>On Wednesday, August 26, 2015, Eli Visbal <<a href="mailto:visbal@astro.columbia.edu">visbal@astro.columbia.edu</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thank you Nathan! That seemed to work.<br>
<br>
I am having related problems installing Enzo. When I try to obtain the<br>
code with "hg clone <a href="https://bitbucket.org/enzo/enzo-dev" target="_blank">https://bitbucket.org/enzo/enzo-dev</a>", I find a<br>
similar error related to openSSL (error message "ValueError: can't<br>
clear options before OpenSSL 0.9.8m"). If you could let me know the<br>
easiest alternate way to get Enzo onto Pleiades I would be very<br>
grateful.<br>
<br>
Eli<br>
<br>
On Wed, Aug 26, 2015 at 6:30 PM, Nathan Goldbaum <<a href="javascript:;" onclick="_e(event, 'cvml', 'nathan12343@gmail.com')">nathan12343@gmail.com</a>> wrote:<br>
> The issue is that the version of openSSL installed on Pleiades is out of<br>
> date (read insecure), so modern versions of python (specifically, newer than<br>
> 2.7.9) will refuse to link against it. This breaks pip, among other things.<br>
><br>
> Rather than using the install script, I'd suggest installing yt using<br>
> miniconda which bundles a build of an up-to-date openSSL:<br>
><br>
> <a href="http://yt-project.org/docs/dev/installing.html#installing-yt-using-anaconda" target="_blank">http://yt-project.org/docs/dev/installing.html#installing-yt-using-anaconda</a><br>
><br>
> I've been using a setup based on miniconda on Pleiades for the past couple<br>
> of years with no issue.<br>
><br>
> On Wed, Aug 26, 2015 at 4:44 PM, Eli Visbal <<a href="javascript:;" onclick="_e(event, 'cvml', 'visbal@astro.columbia.edu')">visbal@astro.columbia.edu</a>><br>
> wrote:<br>
>><br>
>> Hello,<br>
>><br>
>> I am a postdoc at Columbia University fairly new to yt and am having<br>
>> trouble installing it on the NASA Pleiades supercomputer. I was hoping<br>
>> that someone else has figured this out before and could help me.<br>
>><br>
>> I tried running the yt install script obtained with:<br>
>> wget <a href="http://bitbucket.org/yt_analysis/yt/raw/stable/doc/install_script.sh" target="_blank">http://bitbucket.org/yt_analysis/yt/raw/stable/doc/install_script.sh</a><br>
>><br>
>> When I attempt to run this script, it crashes giving the error message<br>
>> copied below. I believe it may be related to the version of ssl on<br>
>> Pleiades. Any help would be greatly appreciated. Thank you!<br>
>><br>
>> Best,<br>
>> Eli Visbal<br>
>> -----------------------------------------------------------------<br>
>> ...<br>
>> Installing HDF5<br>
>> Installing SQLite3<br>
>> Installing Python 2. This may take a while, but don't worry. yt loves you.<br>
>> Installing setuptools-18.0.1<br>
>> Installing mercurial-3.4<br>
>> Cloning yt<br>
>> Setting YT_DIR=/u/evisbal/yt-x86_64/src/yt-hg/<br>
>> Installing pip<br>
>> ********************************************<br>
>>         FAILURE REPORT:<br>
>> ********************************************<br>
>>   File<br>
>> "/home1/evisbal/yt-x86_64/lib/python2.7/site-packages/mercurial/url.py",<br>
>> line 346, in connect<br>
>>     **sslutil.sslkwargs(self.ui, host))<br>
>>   File<br>
>> "/home1/evisbal/yt-x86_64/lib/python2.7/site-packages/mercurial/sslutil.py",<br>
>> line 36, in ssl_wrap_socket<br>
>>     sslcontext.options &= ssl.OP_NO_SSLv2 & ssl.OP_NO_SSLv3<br>
>> ValueError: can't clear options before OpenSSL 0.9.8m<br>
>> abort: repository /u/evisbal/yt-x86_64/src/yt-hg/ not found!<br>
>> 2015-08-26 14:01:04 URL:<a href="https://bootstrap.pypa.io/get-pip.py" target="_blank">https://bootstrap.pypa.io/get-pip.py</a><br>
>> [1412744/1412744] -> "get-pip.py" [1]<br>
>> Collecting pip<br>
>>   Could not find a version that satisfies the requirement pip (from<br>
>> versions: )<br>
>> No matching distribution found for pip<br>
>> ********************************************<br>
>> ********************************************<br>
>> _______________________________________________<br>
>> yt-users mailing list<br>
>> <a href="javascript:;" onclick="_e(event, 'cvml', 'yt-users@lists.spacepope.org')">yt-users@lists.spacepope.org</a><br>
>> <a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
><br>
><br>
><br>
> _______________________________________________<br>
> yt-users mailing list<br>
> <a href="javascript:;" onclick="_e(event, 'cvml', 'yt-users@lists.spacepope.org')">yt-users@lists.spacepope.org</a><br>
> <a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
><br>
_______________________________________________<br>
yt-users mailing list<br>
<a href="javascript:;" onclick="_e(event, 'cvml', 'yt-users@lists.spacepope.org')">yt-users@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
</blockquote></div>