[yt-users] YT installation

j s oishi jsoishi at gmail.com
Fri Aug 3 10:29:17 PDT 2012


Hi Sherwood,

Kacper Kowalik just pointed out to me that you are using a *very* old
version of the install script! Please get the latest version from

http://yt-project.org/#getyt

and try again.

thanks,

Jeff

On Fri, Aug 3, 2012 at 10:19 AM, j s oishi <jsoishi at gmail.com> wrote:
> Hi Sherwood,
>
> This is strange. Can you send me (off list) your entire
> yt_install.log? I'm not certain why Cython failed to install itself
> from the script before trying to do forthon.
>
> thanks,
>
> j
>
> On Fri, Aug 3, 2012 at 9:50 AM, Sherwood Richers <srichers at caltech.edu> wrote:
>> Hi Matt,
>>
>> I did that, but there now seems to be an additional problem. The tail
>> end of the output and install log are pasted below. I did as the
>> install log suggested and installed Cython, but the same error
>> appears, as if it doesn't recognize that it's installed (though
>> executing 'cython' puts up its usage page, so it's definitely there).
>> Again, thanks for your help.
>>
>> -Sherwood
>>
>> OUTPUT:
>> Installing Forthon-0.8.5 (arguments: 'Forthon-0.8.5')
>> Doing yt update, wiping local changes and updating to branch stable
>> Installing yt
>> Failure.  Check /home/sherwood/yt-x86_64/yt_install.log.
>>
>> INSTALL LOG:
>> running install_data
>> copying Notice -> /home/sherwood/yt-x86_64/lib/python2.7/site-packages/Forthon
>> copying Src/Forthon.h ->
>> /home/sherwood/yt-x86_64/lib/python2.7/site-packages/Forthon
>> copying Src/Forthon.c ->
>> /home/sherwood/yt-x86_64/lib/python2.7/site-packages/Forthon
>> running install_egg_info
>> Writing /home/sherwood/yt-x86_64/lib/python2.7/site-packages/Forthon-0.8.5-py2.7.egg-info
>> pulling from http://hg.yt-project.org/yt/
>> searching for changes
>> no changes found
>> 0 files updated, 0 files merged, 0 files removed, 0 files unresolved
>> Using /home/sherwood/yt-x86_64/bin/Forthon
>> (/home/sherwood/yt-x86_64/bin/Forthon)
>> /home/sherwood/yt-x86_64/bin/Forthon -F gfortran --compile_first
>> fKD_source --no2underscores --with-numpy --fopt "-O3" fKD
>> fKD_source.f\
>> 90
>> Traceback (most recent call last):
>>   File "/home/sherwood/yt-x86_64/bin/Forthon", line 2, in <module>
>>     import Forthon.Forthon_builder
>>   File "/home/sherwood/yt-x86_64/lib/python2.7/site-packages/Forthon/Forthon_builder.py",
>> line 11, in <module>
>>     from Forthon.compilers import FCompiler
>>   File "/home/sherwood/yt-x86_64/lib/python2.7/site-packages/Forthon/compilers.py",
>> line 8, in <module>
>>     from cfinterface import realsize,intsize
>>   File "/home/sherwood/yt-x86_64/lib/python2.7/site-packages/Forthon/cfinterface.py",
>> line 52, in <module>
>>     raise ValueError('Machine %s not supported'%machine)
>> ValueError: Machine linux3 not supported
>> make: *** [fKD] Error 1
>> Cython is a build-time requirement for the source tree of yt.
>> Please either install yt from a provided, release tarball,
>> or install Cython (version 0.16 or higher).
>> You may be able to accomplish this by typing:
>>      pip install -U Cython
>>
>>
>> On Fri, Aug 3, 2012 at 3:20 AM, Matthew Turk <matthewturk at gmail.com> wrote:
>>> Hi Sherwood,
>>>
>>> On Fri, Aug 3, 2012 at 2:34 AM, Sherwood Richers <srichers at caltech.edu> wrote:
>>>> Hello,
>>>>
>>>> I tried installing YT on my (Ubuntu 12.04 x86_64) laptop and got the
>>>> following error messages when the install script tried updating. I
>>>> also tried starting python and executing "import hashlib" and got the
>>>> same messages. Does anybody know the cause of this or what I can do to
>>>> fix the errors? (I don't know if it's of any relevance, but there were
>>>> also a bunch of warnings in the attached install log).
>>>
>>> Reading over the install log, it looks like you've diagnosed the issue
>>> -- a bunch of the Python modules failed to compile.  I also run on
>>> Ubuntu 12.04 and these packages are required to install yt:
>>>
>>>   * libssl-dev
>>>   * build-essential
>>>   * libncurses5
>>>   * libncurses5-dev
>>>   * zip
>>>
>>> Can you make sure they are installed by running:
>>>
>>> $ sudo apt-get install libssl-dev build-essential libncurses5
>>> libncurses5-dev zip
>>>
>>> Unfortunately you'll then have to rm -rf yt-x86_64 and re-run the
>>> install script from scratch.
>>>
>>> Thanks, and let us know how it goes,
>>>
>>> Matt
>>>
>>>>
>>>> Thanks a ton.
>>>> -Sherwood
>>>>
>>>> Installing Forthon-0.8.5 (arguments: 'Forthon-0.8.5')
>>>> Doing yt update, wiping local changes and updating to branch stable
>>>> ERROR:root:code for hash sha224 was not found.
>>>> Traceback (most recent call last):
>>>>   File "/home/sherwood/yt-x86_64/lib/python2.7/hashlib.py", line 139,
>>>> in <module>
>>>>     globals()[__func_name] = __get_hash(__func_name)
>>>>   File "/home/sherwood/yt-x86_64/lib/python2.7/hashlib.py", line 91,
>>>> in __get_builtin_constructor
>>>>     raise ValueError('unsupported hash type %s' % name)
>>>> ValueError: unsupported hash type sha224
>>>> ERROR:root:code for hash sha256 was not found.
>>>> Traceback (most recent call last):
>>>>   File "/home/sherwood/yt-x86_64/lib/python2.7/hashlib.py", line 139,
>>>> in <module>
>>>>     globals()[__func_name] = __get_hash(__func_name)
>>>>   File "/home/sherwood/yt-x86_64/lib/python2.7/hashlib.py", line 91,
>>>> in __get_builtin_constructor
>>>>     raise ValueError('unsupported hash type %s' % name)
>>>> ValueError: unsupported hash type sha256
>>>> ERROR:root:code for hash sha384 was not found.
>>>> Traceback (most recent call last):
>>>>   File "/home/sherwood/yt-x86_64/lib/python2.7/hashlib.py", line 139,
>>>> in <module>
>>>>     globals()[__func_name] = __get_hash(__func_name)
>>>>   File "/home/sherwood/yt-x86_64/lib/python2.7/hashlib.py", line 91,
>>>> in __get_builtin_constructor
>>>>     raise ValueError('unsupported hash type %s' % name)
>>>> ValueError: unsupported hash type sha384
>>>> ERROR:root:code for hash sha512 was not found.
>>>> Traceback (most recent call last):
>>>>   File "/home/sherwood/yt-x86_64/lib/python2.7/hashlib.py", line 139,
>>>> in <module>
>>>>     globals()[__func_name] = __get_hash(__func_name)
>>>>   File "/home/sherwood/yt-x86_64/lib/python2.7/hashlib.py", line 91,
>>>> in __get_builtin_constructor
>>>>     raise ValueError('unsupported hash type %s' % name)
>>>> ValueError: unsupported hash type sha512
>>>> Installing yt
>>>> Failure.  Check /home/sherwood/yt-x86_64/yt_install.log.
>>>>
>>>> _______________________________________________
>>>> yt-users mailing list
>>>> yt-users at lists.spacepope.org
>>>> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>>>>
>>>
>> _______________________________________________
>> yt-users mailing list
>> yt-users at lists.spacepope.org
>> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org



More information about the yt-users mailing list