ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

JayB's profile - activity

2013-05-15 12:49:53 -0500 received badge  Famous Question (source)
2013-05-15 12:49:53 -0500 received badge  Notable Question (source)
2012-12-04 03:10:26 -0500 received badge  Popular Question (source)
2012-10-25 16:45:02 -0500 asked a question Error importing Naoqi in python

When I "import naoqi" in python2.7 from the file "pynaoqi-python-2.7-naoqi-1.12.5-mac64", it gives me this error immediately.

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

What does this mean?

2012-10-25 15:16:10 -0500 received badge  Editor (source)
2012-10-25 15:07:01 -0500 asked a question import NaoQI in python on Mac OS X

I'm pretty clueless as to what I'm doing here so if there is any obvious fix, assume I haven't tried it. I am trying to set up the SDK for python, but when I open a python shell and type "import naoqi" it doesn't find a module (though the guide here says it will). I have set my path in the .bash_profile file to

export PYTHONPATH=/Documents/Programming/naoqi-sdk-1.12.5-mac64/lib:${PYTHONPATH}

I'm using the python stored in /usr/local/bin/. It is also probably notable that the SDK I downloaded was for mac 10.7 (it was the best latest they had), and I have the latest version of OS X. However I don't think that is a problem because when I run naoqi: (Documents/Programming/naoqi-sdk-1.12.5-mac64/naoqi) it runs just fine. Any ideas as to what is wrong?