[MacPorts] #57146: h5py Library not updated

MacPorts noreply at macports.org
Fri Sep 21 15:24:13 UTC 2018


#57146: h5py Library not updated
-------------------------+----------------------
  Reporter:  boatmorrow  |      Owner:  eborisch
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.5.3
Resolution:              |   Keywords:
      Port:  py-h5py     |
-------------------------+----------------------
Changes (by mf2k):

 * keywords:  h5py, hdf5 =>
 * status:  new => assigned
 * owner:  (none) => eborisch


Old description:

> Hello,
>
> I've installed py-h5py.  It worked until I recently upgraded all ports
> with "port upgrade outdated".  Now when I try to import h5py I get:
>
> $ python -c "import h5py"
> Traceback (most recent call last):
>   File "<string>", line 1, in <module>
>   File
> "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
> /site-packages/h5py/__init__.py", line 26, in <module>
>     from . import _errors
> ImportError:
> dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
> /site-packages/h5py/_errors.so, 2): Library not loaded:
> @loader_path/.dylibs/libhdf5.101.dylib
>   Referenced from:
> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
> /site-packages/h5py/_errors.so
>   Reason: Incompatible library version: _errors.so requires version
> 103.0.0 or later, but libhdf5.101.dylib provides version 102.0.0
>
> I've tried
> sudo port -nR upgrade --force py-h5py
>
> I've also tried uninstalling and reinstalling.  I'm wondering if a
> library needs to be updated in the port?
>
> Thanks,
> Payton

New description:

 Hello,

 I've installed py-h5py.  It worked until I recently upgraded all ports
 with "port upgrade outdated".  Now when I try to import h5py I get:
 {{{
 $ python -c "import h5py"
 Traceback (most recent call last):
   File "<string>", line 1, in <module>
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/h5py/__init__.py", line 26, in <module>
     from . import _errors
 ImportError:
 dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/h5py/_errors.so, 2): Library not loaded:
 @loader_path/.dylibs/libhdf5.101.dylib
   Referenced from:
 /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/h5py/_errors.so
   Reason: Incompatible library version: _errors.so requires version
 103.0.0 or later, but libhdf5.101.dylib provides version 102.0.0
 }}}
 I've tried
 {{{
 sudo port -nR upgrade --force py-h5py
 }}}
 I've also tried uninstalling and reinstalling.  I'm wondering if a library
 needs to be updated in the port?

 Thanks,
 Payton

--

-- 
Ticket URL: <https://trac.macports.org/ticket/57146#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list