[MacPorts] #57146: h5py Library not updated

MacPorts noreply at macports.org
Sat Sep 22 13:53:19 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     |
-------------------------+----------------------

Comment (by boatmorrow):

 Hello,

 I'm guessing the pip install is the problem.  I've tried to remove all
 vestige of the pip install, but I can't seem to find all it.  I've
 uninstalled h5py via pip.  I've then uninstalled the py27-h5py.  A grep of
 h5py on
 /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/ returns nothing, so wherever it is it isn't there.  I then
 to a reinstall with sudo port install -s py27-h5py.

 Somewhere its still finding the offending libraries, because I still 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:
 /opt/local/lib/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

 However, I think this isn't a bug in the port but in my system, so I think
 its my problem not yours.   I think I installed some packages with fairly
 heavy dependencies using pip, and now I'm in trouble for using two
 different package managers - lesson learned.

 Thanks for your time, I appreciate the help.

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


More information about the macports-tickets mailing list