vmtk / conda-recipes

Conda recipes for vmtk
BSD 2-Clause "Simplified" License
1 stars 4 forks source link

VTK Conda Package Error: PyThreadState_Get: no current thread #3

Closed rlizzo closed 6 years ago

rlizzo commented 7 years ago

Hey @lantiga,

So my main linux laptop finally broke down on me, and I decided to bite the bullet and make the switch to a mac. I'm getting everything set up, and when I went to create a new conda environment with the vmtk/label/dev itk, vtk, & vmtk packages from anaconda cloud, I'm running into an error with VTK.

Whenever I go to import VTK, python -c "import vtk" I get a Fatal Python error: PyThreadState_Get: no current thread. Abort trap: 6. This happens regardless of if I build vtk myself, or if I use the anaconda cloud package. I only have system python and anaconda python installed.

I know this was an issue you dealt with in https://github.com/Homebrew/homebrew-science/pull/3811, and I'm wondering what your solution was to this? Have you guys tried using the vtk conda package on a different machine than what you built it on?

let me know. thanks!

rlizzo commented 6 years ago

Solved via https://github.com/vmtk/conda-recipes/pull/6 and specific instructions sent to users.