[yt-dev] Call for testing: updated install script

Hsi-Yu Schive hyschive at ntu.edu.tw
Thu Apr 14 11:06:04 PDT 2016


The installation with conda works fine on the Campus cluster. Great!

Justin

2016-04-14 10:12 GMT-05:00 Nathan Goldbaum <nathan12343 at gmail.com>:

>
>
> On Thu, Apr 14, 2016 at 8:44 AM, John Zuhone <jzuhone at gmail.com> wrote:
>
>> Hi Nathan,
>>
>> On El Capitan, running the install script with the default options, I get
>> this:
>>
>> ========================================================================
>>
>> Hi there!  This is the yt installation script.  We're going to download
>> some stuff and install it to create a self-contained, isolated
>> environment for yt to run within.
>>
>> Inside the installation script you can set a few variables.  Here's what
>> they're currently set to -- you can hit Ctrl-C and edit the values in
>> the script if you aren't such a fan.
>>
>> INST_PY3           = 0 so I won't be installing Python 3
>> INST_HG            = 1 so I will  be installing Mercurial
>> INST_UNSTRUCTURED  = 0 so I won't be installing unstructured mesh
>> rendering
>> INST_PYX           = 0 so I won't be installing PyX
>> INST_ROCKSTAR      = 0 so I won't be installing Rockstar
>> INST_H5PY          = 1 so I will  be installing h5py
>> INST_ASTROPY       = 0 so I won't be installing astropy
>> INST_NOSE          = 1 so I will  be installing nose
>>
>>
>> Installation will be to
>>   /Users/jzuhone/Source/yt-ng/doc/yt-conda
>>
>> and I'll be logging the installation in
>>   /Users/jzuhone/Source/yt-ng/doc/yt-conda/yt_install.log
>>
>> I think that about wraps it up.  If you want to continue, hit enter.
>> If you'd rather stop, maybe think things over, even grab a sandwich,
>> hit Ctrl-C.
>>
>> ========================================================================
>>
>> [hit enter]
>>
>> Awesome!  Here we go.
>>
>> Using wget
>> Using shasum -a 512
>>
>> Downloading
>> http://repo.continuum.io/miniconda/Miniconda2-latest-MacOSX-x86_64.sh
>>
>> Installing the Miniconda python environment.
>> Installing the necessary packages for yt.
>> This may take a while, but don't worry.  yt loves you.
>> ********************************************
>>         FAILURE REPORT:
>> ********************************************
>>
>> installing: pycrypto-2.6.1-py27_0 ...
>> installing: pip-8.1.1-py27_1 ...
>> installing: wheel-0.29.0-py27_0 ...
>> installing: setuptools-20.3-py27_0 ...
>> Python 2.7.11 :: Continuum Analytics, Inc.
>> creating default environment...
>> installation finished.
>> EXECUTING:
>>   conda update --yes conda
>> Error: package 'conda' is not installed in
>> /Users/jzuhone/Source/yt-ng/doc/yt-conda/envs/python2
>>
>> ********************************************
>> ********************************************
>> Failure.  Check /Users/jzuhone/Source/yt-ng/doc/yt-conda/yt_install.log.
>> The last 10 lines are above.
>>
>
> This should be fixed by this commit:
>
> https://bitbucket.org/ngoldbaum/yt/commits/351fd47
>
> Thanks for working this out with me on Slack.
>
>
>>
>> On Apr 13, 2016, at 11:10 AM, Nathan Goldbaum <nathan12343 at gmail.com>
>> wrote:
>>
>> Hi all,
>>
>> I'd appreciate it if people could try running my updated install script
>> on a variety of platforms. With my changes, the install script sets up a
>> conda environment by default, but the option to create a bootstrapped
>> from-source python environment is still implemented. See PR 2009 for
>> details:
>>
>> https://bitbucket.org/yt_analysis/yt/pull-requests/2009
>>
>> You can either grab the raw install_script.sh file from my fork:
>>
>> $ wget
>> https://bitbucket.org/ngoldbaum/yt/raw/install-script-updates/doc/install_script.sh
>>
>> Or pull from my fork and run the "test_install_script.py" that I've
>> added. The latter will take a while, because it runs the install script six
>> times with a variety of permutations in options.
>>
>> Thanks for your help!
>>
>> -Nathan
>> _______________________________________________
>> yt-dev mailing list
>> yt-dev at lists.spacepope.org
>> http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org
>>
>>
>>
>> _______________________________________________
>> yt-dev mailing list
>> yt-dev at lists.spacepope.org
>> http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org
>>
>>
>
> _______________________________________________
> yt-dev mailing list
> yt-dev at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-dev-spacepope.org/attachments/20160414/5bb28162/attachment.htm>


More information about the yt-dev mailing list