Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When I use command + R to run my Python code in TextMate under Mac OS X, I receive the follow output:

Program terminated by uncaught signal #10 after 0.32 seconds.

However when running my code with command + shift + R in Terminal, it works properly.

Does anyone have a similar problem? How did you fix it?

I had this problem in the past, but after reformatting my Mac, it worked properly again. However I had to reformat my Mac once again and the problem reappeared.

share|improve this question
Do you have multiple installations of Python? What does which python give you? Maybe TextMate uses an older version because its PATH isn't set correctly. I've had those problems with Ruby and TextMate. – slhck Apr 4 '11 at 7:48
Thank you for your answer : ) I fixed the problem by updating my textmate version. – user73250 Apr 5 '11 at 9:22
@slhck - perhaps you could add that as an answer. – Danny Staple Sep 25 '11 at 21:45
@DannyStaple I don't particularly feel like adding incomplete solutions as answers. Plus, I don't even think this really answered the OP's problem. – slhck Sep 25 '11 at 21:50

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.