Hey,
Similarly I installed the FrontPanel 4.0.8 Library on my MacBook Pro running Mountain Lion and I get the same error mention above when I attempt to import “ok.py”. Is there any way I can get it to run and if not will there be a compatible version coming soon?
Thanks!
The latest FrontPanel is 4.2.2 and is shipping with the XEM6002 and our new XEM6310 which begins shipping this week. The new FrontPanel SDK will be pushed to the website a little later this week. There will be a newsletter announcement with some of the details a little later, as well.
I’m having the same problem. When importing ok, python returns the following:
[CODE]
Python 2.7.3 (default, Nov 19 2012, 00:46:55)
[GCC 4.2.1 Compatible Apple Clang 4.1 ((tags/Apple/clang-421.11.66))] on darwin
Type “help”, “copyright”, “credits” or “license” for more information.
import ok
Fatal Python error: PyThreadState_Get: no current thread
Abort trap: 6[/CODE]
I just bought and received a 6310 to use specifically with Python on the Mac.
I am experiencing the same error.
MacOSX 10.8.4, 2.3 GHz i7 MacBookPro
new-host-3:Python jamessclarkiv$ pwd
/Users/jamessclarkiv/Desktop/OpalKellyMac/API/Python
new-host-3:Python jamessclarkiv$ python --version
Python 2.7.5
new-host-3:Python jamessclarkiv$ python
Python 2.7.5 (default, Jun 27 2013, 17:06:46)
[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 ok
Fatal Python error: PyThreadState_Get: no current thread
Abort trap: 6
new-host-3:Python jamessclarkiv$
I am able to connect and load the “first” test using the mac front panel app and it works…I just want to be able to use python…do I need to install anything? Documentation for mac/python is very noticeably abscent…am I not looking in the right places? Nothing even on how to install for mac?