Executing Python GIMP scripts on Mac OS

Viewed 1215

I need help to execute a home made python script that use GIMP libraries on Mac OS. I'm sure the script is ok because it works well on GNU-Linux OS.

What I did:

  • Installed GIMP with .dmg distribution
  • Installed Python 2.7.13
  • Copied my python script in ~/Library/Application Support/GIMP/2.8/plug-ins
  • Added execute permission chmod +x myScript.py
  • Modified my .bash_profile adding export PYTHONHOME='/Library/Frameworks/Python.framework/Versions/2.7'

When I try to execute the script from terminal I get:

ImportError: No module named gimpfu

I don't know how to fix this!

1 Answers
Related