[yt-dev] Issue #1236: While installing yt through script (yt_analysis/yt)

Damodar Rajbhandari issues-reply at bitbucket.org
Sun Jun 26 20:14:18 PDT 2016


New issue 1236: While installing yt through script
https://bitbucket.org/yt_analysis/yt/issues/1236/while-installing-yt-through-script

Damodar Rajbhandari:

I have tried to install yt for the first time in my Ubuntu 16.04 LTS but i got an error "Import Error: cannot import name HTTPS Handler". Here are some lines from the yt_install.log
.....
using https://bitbucket.org/yt_analysis/yt-supplemental/
sending capabilities command
abort: No module named _ssl!
using https://bitbucket.org/yt_analysis/yt/
sending capabilities command
abort: No module named _ssl!
abort: repository /home/field/yt-x86_64/src/yt-hg/ not found!
2016-06-26 19:49:49 URL:https://bootstrap.pypa.io/get-pip.py [1524722/1524722] -> "get-pip.py" [1]
Traceback (most recent call last):
  File "get-pip.py", line 19177, in <module>
    main()
  File "get-pip.py", line 194, in main
    bootstrap(tmpdir=tmpdir)
  File "get-pip.py", line 82, in bootstrap
    import pip
  File "/tmp/tmpzwM52k/pip.zip/pip/__init__.py", line 16, in <module>
  File "/tmp/tmpzwM52k/pip.zip/pip/vcs/subversion.py", line 9, in <module>
  File "/tmp/tmpzwM52k/pip.zip/pip/index.py", line 30, in <module>
  File "/tmp/tmpzwM52k/pip.zip/pip/wheel.py", line 39, in <module>
  File "/tmp/tmpzwM52k/pip.zip/pip/_vendor/distlib/scripts.py", line 14, in <module>
  File "/tmp/tmpzwM52k/pip.zip/pip/_vendor/distlib/compat.py", line 31, in <module>
ImportError: cannot import name HTTPSHandler
using https://bitbucket.org/yt_analysis/yt-supplemental/
sending capabilities command
abort: No module named _ssl!
using https://bitbucket.org/yt_analysis/yt/
sending capabilities command
abort: No module named _ssl!
abort: repository /home/field/yt-x86_64/src/yt-hg/ not found!
2016-06-26 20:05:41 URL:https://bootstrap.pypa.io/get-pip.py [1524722/1524722] -> "get-pip.py.1" [1]
Traceback (most recent call last):
  File "get-pip.py", line 19177, in <module>
    main()
  File "get-pip.py", line 194, in main
    bootstrap(tmpdir=tmpdir)
  File "get-pip.py", line 82, in bootstrap
    import pip
  File "/tmp/tmpJkD7Nt/pip.zip/pip/__init__.py", line 16, in <module>
  File "/tmp/tmpJkD7Nt/pip.zip/pip/vcs/subversion.py", line 9, in <module>
  File "/tmp/tmpJkD7Nt/pip.zip/pip/index.py", line 30, in <module>
  File "/tmp/tmpJkD7Nt/pip.zip/pip/wheel.py", line 39, in <module>
  File "/tmp/tmpJkD7Nt/pip.zip/pip/_vendor/distlib/scripts.py", line 14, in <module>
  File "/tmp/tmpJkD7Nt/pip.zip/pip/_vendor/distlib/compat.py", line 31, in <module>
ImportError: cannot import name HTTPSHandler

Then, i try to install by typing sudo apt-get install python-yt. But i don't know what was going there!
So, again i tried, its showed me an error "make: *** [install-recursive] Error 1". Here are some lines from another yt_install.log
......
In file included from h5tools_dump.c:31:0:
../../src/H5private.h:1529:14: warning: ISO C90 does not support '__func__' predefined identifier [-Wpedantic]
 #define FUNC __func__
              ^
h5tools_error.h:71:49: note: in expansion of macro 'FUNC'
         H5Epush2(H5tools_ERR_STACK_g, __FILE__, FUNC, __LINE__, H5tools_ERR_CLS_g, maj_id, min_id, str);     \
                                                 ^
h5tools_error.h:101:5: note: in expansion of macro 'HERROR'
     HERROR(H5E_tools_g, min_id, str);                 \
     ^
h5tools_dump.c:2688:9: note: in expansion of macro 'H5E_THROW'
         H5E_THROW(FAIL, H5E_tools_min_id_g, "Could not close datatype's super class");
         ^
h5tools_dump.c: In function 'h5tools_dump_comment':
h5tools_dump.c:3460:59: warning: conversion to 'size_t {aka long unsigned int}' from 'ssize_t {aka long int}' may change the sign of the result [-Wsign-conversion]
             cmt_bufsize = H5Oget_comment(obj_id, comment, cmt_bufsize);
                                                           ^
h5tools_dump.c: In function 'h5tools_dump_attribute':
h5tools_dump.c:3489:39: warning: unused parameter 'oid' [-Wunused-parameter]
         h5tools_context_t *ctx, hid_t oid, const char *attr_name, hid_t attr_id, 
                                       ^
h5tools_dump.c: In function 'h5tools_print_packed_bits':
h5tools_dump.c:3628:48: warning: ISO C90 does not support 'long long' [-Wlong-long]
             packed_bits_size = 8 * sizeof(long long);
                                                ^
h5tools_dump.c:3631:57: warning: ISO C90 does not support 'long long' [-Wlong-long]
             packed_bits_size = 8 * sizeof(unsigned long long);
                                                         ^
Makefile:553: recipe for target 'h5tools_dump.lo' failed
make[2]: *** [h5tools_dump.lo] Error 1
make[2]: Leaving directory '/home/field/yt-x86_64/src/hdf5-1.8.11/tools/lib'
Makefile:497: recipe for target 'install-recursive' failed
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory '/home/field/yt-x86_64/src/hdf5-1.8.11/tools'
Makefile:539: recipe for target 'install-recursive' failed
make: *** [install-recursive] Error 1


Can anyone can help me out from this issue.




More information about the yt-dev mailing list