FS#49690 - vtk6 python bindings broken

Attached to Project: Arch Linux
Opened by sdfdsfsdf (dekece) - Sunday, 12 June 2016, 18:22 GMT
Last edited by Doug Newgard (Scimmia) - Monday, 13 June 2016, 04:11 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Upon importing vtk6 (with vtk7 uninstalled) in python2, it throws an error such as

samuel /opt/vtk6/lib/python2.7/site-packages/vtk $ ipyth2
Python 2.7.11 (default, Mar 31 2016, 06:18:34)
Type "copyright", "credits" or "license" for more information.

IPython 4.2.0 -- An enhanced Interactive Python.
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object', use 'object??' for extra details.
Using matplotlib backend: Qt5Agg

In [1]: import vtk
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
<ipython-input-1-b7e11aadda62> in <module>()
----> 1 import vtk

ImportError: No module named vtk

In [2]: cd/opt/vtk6/lib/python2.7/site-packages
/opt/vtk6/lib/python2.7/site-packages

In [3]: pwd
Out[3]: u'/opt/vtk6/lib/python2.7/site-packages'

In [4]: import vtk
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
<ipython-input-4-b7e11aadda62> in <module>()
----> 1 import vtk

/opt/vtk6/lib/python2.7/site-packages/vtk/__init__.py in <module>()
85 from vtkParallelCore import *
86 from vtkFiltersAMR import *
---> 87 from vtkIOAMR import *
88 from vtkFiltersFlowPaths import *
89 from vtkFiltersImaging import *

/opt/vtk6/lib/python2.7/site-packages/vtk/vtkIOAMR.py in <module>()
----> 1 from vtkIOAMRPython import *

ImportError: libhdf5.so.10: Ne peut ouvrir le fichier d'objet partagé: Aucun fichier ou dossier de ce type

Seems like the bindings are not at the right spot, and when going to the folder importing vtk throws an error about some hdf5 missing (which is installed, propably as a dep).
Also seems like it want to throw the same error with vtk7, if it finds the import : https://bugs.archlinux.org/task/49689?opened=15544&status%5B0%5D=

This task depends upon

Closed by  Doug Newgard (Scimmia)
Monday, 13 June 2016, 04:11 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#49233 

Loading...