FS#49689 - vtk7 pyhon bindings are broken
Attached to Project:
Arch Linux
Opened by sdfdsfsdf (dekece) - Sunday, 12 June 2016, 18:17 GMT
Last edited by Doug Newgard (Scimmia) - Monday, 13 June 2016, 04:10 GMT
Opened by sdfdsfsdf (dekece) - Sunday, 12 June 2016, 18:17 GMT
Last edited by Doug Newgard (Scimmia) - Monday, 13 June 2016, 04:10 GMT
|
Details
Description:
Upon opening and importing vtk7 in python2, it throws an error such as samuel ~ $ 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 /usr/lib/python2.7/site-packages/vtk/__init__.py in <module>() 88 from .vtkParallelCore import * 89 from .vtkFiltersAMR import * ---> 90 from .vtkIOAMR import * 91 from .vtkRenderingVolumeOpenGL2 import * 92 from .vtkFiltersFlowPaths import * /usr/lib/python2.7/site-packages/vtk/vtkIOAMR.py in <module>() 7 # during build and testing, the modules will be elsewhere, 8 # e.g. in lib directory or Release/Debug config directories ----> 9 from vtkIOAMRPython import * ImportError: No module named vtkIOAMRPython Seems like something happened to the python bindings. Steps to reproduce: import vtk in a python2 interpreter. Someone else had this problem on a mailing list (she was on mnajaro, I am on arch), so I tested it myself and had the same problem. https://mail.python.org/pipermail/neuroimaging/2016-June/000997.html |
This task depends upon
Closed by Doug Newgard (Scimmia)
Monday, 13 June 2016, 04:10 GMT
Reason for closing: Duplicate
Additional comments about closing: FS#49233
Monday, 13 June 2016, 04:10 GMT
Reason for closing: Duplicate
Additional comments about closing: