[MacPorts] #39586: vtk5 @5.10.1_0
MacPorts
noreply at macports.org
Sat Jun 29 17:18:38 PDT 2013
#39586: vtk5 @5.10.1_0
-------------------------------------+--------------------------------
Reporter: lkelley@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.1.3
Keywords: vtk python import error | Port: vtk5 @5.10.1_0
-------------------------------------+--------------------------------
I previously installed the VTK package from source, but couldn't get it to
work with my MacPorts python (/opt/local/bin/python which points to
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7),
it only worked with my system python (/usr/bin/python which points to
/System/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7).
I then installed the vtk5 port (vtk5 @5.10.1_0+python27+tcltk+x11), but
I'm getting the same result:
{{{
$ python
Python 2.7.5 (default, Jun 28 2013, 22:20:00)
[GCC 4.2.1 Compatible Apple LLVM 4.2 (clang-425.0.28)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import vtk
Fatal Python error: PyThreadState_Get: no current thread
Abort trap: 6
}}}
again, it works fine if I use the system python. I noticed that the vtk5
package contained a 'vtkpython' --- and 'import vtk' fails for that as-
well. I've attached my system error report for the crash.
As a temporary solution I was going to just use the system python, but
because I have modules installed via MacPorts, I can't import numpy,
matplotlib, etc from the system python. I'd also be interested in ways to
resolve that issue - so at least I can get some work done....
Thanks!
--
Ticket URL: <https://trac.macports.org/ticket/39586>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list