Results 1 to 2 of 2

Thread: Python and a module issue

  1. #1
    Moderator
    Good Guru
    Schotty's Avatar
    Join Date
    Jul 2001
    Location
    Milwaukee, WI
    Posts
    5,758

    Python and a module issue

    Hey!

    I got this neat little python app that wants to include pygtk module. IT cant find it. I got the rpm installed and there are files and shit that are there, but hwo do I tell python where to look for more modules?

    Here is my output:
    Code:
    [schotty@leinenkugel gDeskCal-0.22]$ ./gdeskcal 
    Traceback (most recent call last):
      File "./gdeskcal", line 3, in ?
        import pygtk; pygtk.require("2.0")
    ImportError: No module named pygtk
    [schotty@leinenkugel gDeskCal-0.22]$

  2. #2
    Moderator
    Good Guru
    Schotty's Avatar
    Join Date
    Jul 2001
    Location
    Milwaukee, WI
    Posts
    5,758

    Re:Python and a module issue

    fixed it. My path needed the location of the python libs. For some reason, the freshrpm pygtk or python rpms are bad. It worked for several things prior to my upgrading ...

Similar Threads

  1. Communicating with Python via the web
    By Tyr_7BE in forum Linux - Software, Applications & Programming
    Replies: 0
    Last Post: 03-30-2005, 08:20 PM
  2. Read individual bits with Python
    By Tyr_7BE in forum Linux - Software, Applications & Programming
    Replies: 0
    Last Post: 03-20-2005, 12:59 AM
  3. Python and PHP question.
    By Jdun in forum Linux - Software, Applications & Programming
    Replies: 7
    Last Post: 11-26-2004, 01:41 PM
  4. Dictionnary cracker in Ruby and Python
    By in forum Linux - Software, Applications & Programming
    Replies: 4
    Last Post: 01-14-2002, 01:55 PM
  5. Python IDE's and GUI toolkits
    By JimH in forum Linux - Software, Applications & Programming
    Replies: 0
    Last Post: 12-20-2001, 08:01 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •