1

I want to use eclipse for some plugin development and I've got it up and working on my Windows 7 machine, but I can't get it to work on my Mac. I've been following the steps outlined on this page. Unfortunately, I get an error when I go to preferences/pydev/interpreter-python/New.. in Eclipse to tell it where the python interpreter is. I've tried to change the file permissions under file info in Finder, but that doesn't make any difference.

My executable is at /Applications/MAXON/CINEMA 4D R12/resource/modules/python/res/Python.osx.framework/Python.

This is the error message:

java.io.IOException: Cannot run program "/Applications/MAXON/CINEMA 4D R12/resource/modules/python/res/Python.osx.framework/Python": error=13, Permission denied

I'm using Cinema 4D R12, Eclipse 3.5.0, and PyDev 2.1.0.2011052613 on OS X. All of the programs are up-to-date.

Thanks for any help!

damien
  • 43
  • 5
  • what does running /Applications/MAXON/CINEMA 4D R12/resource/modules/python/res/Python.osx.framework/Python give in Terminal.app ? – mmmmmm Jun 25 '11 at 15:28
  • i get a python shell that seems to work ok. – damien Jun 25 '11 at 15:35
  • ...but eclipse still gives me the same error. – damien Jun 25 '11 at 17:28
  • sorry I don't have Cinema4d - but what does ls -l on the Python executable give? – mmmmmm Jun 25 '11 at 17:45
  • -rw-rw-rw- 1 root admin 24708 May 15 2010 python – damien Jun 25 '11 at 18:04
  • ok, i used chmod 777 on 'Python' and now it works, thought i could get away without using terminal. do you think there would be any other files that need to be chmoded? anyway thanks for the nudge. – damien Jun 25 '11 at 18:11
  • That looks very odd - I would reinstall - normally Python is a symlink to Versions/Current/Python and the permissions are rwxr-xr-x ie only root can write but all can run – mmmmmm Jun 25 '11 at 19:51
  • i got it working in eclipse, but over in cinema all the plugins started throwing errors, so yes, time for a reinstall. – damien Jun 27 '11 at 08:08

1 Answers1

0

set the chmod of the Python file to 744, then it should work fine

Steve
  • 1