Post Reply 

How to get python module to load?

Apr 16, 2014, 16:49 (This post was last modified: Apr 16, 2014 16:51 by Michael the Narwhal.)
Post: #1
How to get python module to load?
Hello

I've been using both Gimp and Python for awhile, but am new to using the two together. My general question is how exactly to get the python module (which I understand is included with Gimp) to load, so that I can use its functions with stand-alone scripts.

When I enter the following into either a script, or the IDLE console:
Code:
import gimpfu

I get the following returned:
Quote:ImportError: No module named gimpfu

Is there something simple I'm missing here? I've tried re-installing the latest version of Gimp with no results. Some info on my Python/Gimp installs if it helps any:

OS: Windows 7 64-bit
Python version: 2.7.3
Gimp version: 2.8.10

The "Python-Fu" console opens up within Gimp, but again I can't get the module to load in any script I attempt to write. Any help would be much appreciated.
Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Loading PythonFu Plugin: ImportError for .../python/gimp.so (GIMP 2.8.22/OSX/Py2.7.9) joroek 1 796 Jul 11, 2017 07:26
Last Post: ythgilb
  Setting text markup from python script Burbly 1 798 Sep 16, 2014 12:29
Last Post: Burbly
  Python-Fu Script Not Registering image_artist 1 742 Sep 14, 2014 13:24
Last Post: image_artist
  Bashing my head - Batch Python Script nmiltner 1 825 Sep 5, 2014 00:58
Last Post: nmiltner
  Help with python script and drawables nmiltner 3 832 Aug 28, 2014 16:09
Last Post: nmiltner

Forum Jump:


GIMP ForumPortalArchiveContactTermsRSS