[yt-users] YT installation

Matthew Turk matthewturk at gmail.com
Fri Aug 3 03:20:34 PDT 2012


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
>



More information about the yt-users mailing list