Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19
Python and a module issue
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,760

    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,760

    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. module advice needed...
    By John_Deere_630 in forum Ubuntu / Debian
    Replies: 2
    Last Post: 08-31-2006, 11:39 AM
  2. Can't locate module:
    By gmoreno in forum Linux - General Topics
    Replies: 2
    Last Post: 12-24-2003, 03:40 AM
  3. Need help with kernel module.
    By shaurz in forum Linux - Software, Applications & Programming
    Replies: 2
    Last Post: 02-16-2003, 02:37 AM
  4. MP3::Info (perl module)
    By in forum Linux - Software, Applications & Programming
    Replies: 2
    Last Post: 07-20-2002, 10:10 PM
  5. missing ppp module
    By in forum Linux - General Topics
    Replies: 4
    Last Post: 04-12-2002, 02:21 PM

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
  •