Menu

#319 Installation problem, OS X 10.9.2

1.0
open
nobody
None
1
2017-05-20
2014-06-19
Anonymous
No

Hello! I am on a Mac.

From the shell, in the installation directory:

$ python2.7 BioImageXD.py
Fatal Python error: PyThreadState_Get: no current thread
Abort trap: 6

I'm not so sure what this is.

I went through BioImageXD.py in the python interpreter, to get a sense of where things were going wrong, and I found something:

import Configuration
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "Configuration.py", line 35, in <module>
import Logging
File "Logging.py", line 34, in <module>
import wx
ImportError: No module named wx</module></module></module></stdin>

So, what is going on?

Discussion

  • Anonymous

    Anonymous - 2014-06-20

    I believe I fixed this problem.

    import wx

    By adding to my .bash_profile

    export PYTHONPATH="${BXD_PATH}/Libraries/python2.7/site-packages/:$PYTHONPATH"

    I now have another problem:

    import vtk
    Fatal Python error: PyThreadState_Get: no current thread
    Abort trap: 6

     
    • Lassi Paavolainen

      Hi,

      Did you set DYLD_LIBRARY_PATH according to readme_osx.txt? It says:
      BXD_PATH="Put your path to BioImageXD here"
      export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:${BXD_PATH}/Libraries/:${BXD_PATH}/Libraries/python2.7/site-packages/vtkbxd/:${BXD_PATH}/Libraries/vtk-5.6/:${BXD_PATH}/Libraries/InsightToolkit/

      That should make it work.

       
  • Anonymous

    Anonymous - 2017-05-20

    Doing python ./BioImageXD.py worked for me

     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB