Fatal Python Error for btk 0.3.0 on Mac OS X 10.10.2 with python 2.7.9

21 views
Skip to first unread message

Keyan

unread,
Mar 3, 2015, 8:35:06 AM3/3/15
to btk-...@googlegroups.com
Hi,

I am trying to get btk for python running on my mac, but I get the following error message:

> Fatal Python error: PyThreadState_Get: no current thread


as soon as I add

> import btk

to my python script.

My configuration is:

Mac OS X 10.10.2
python 2.7.9, installed with homebrew

I used easy_install -N btk... to install the package and didn't receive any error messages.

My entire python script so far is:

--

#!/usr/local/bin/python


import argparse

import btk


parser = argparse.ArgumentParser(description="Arguments:")


parser.add_argument("-i", type=str, default=None, help="Input file.")

parser.add_argument("-o", type=str, default=None, help="Output file.")


args = parser.parse_args()

--

Cheers,
Keyan
Reply all
Reply to author
Forward
0 new messages