Code Newbie
News     Forums     Search     Members     Sign Up    

My Code Newbie
Username

Password

Articles/Snippets
ASP Classic
ASP.NET
C
C#
C++
HTML / CSS
Java
Javascript
Linux / BSD
Perl
PHP
Python
Ruby
SQL
VB 6
VB.NET

C.N. Friends
  Planet Rome

Link to Us!
Code Newbie
  Code Newbie
    forums
Go Back   Code Forums > Application and Web Development > Python
User Name
Password

Reply
 
LinkBack Thread Tools Display Modes
Old 02-20-2003, 08:33 AM   #1 (permalink)
schotty
RedHat's Manwhore
 
schotty's Avatar
 
Join Date: Feb 2003
Location: Milwaukee
Posts: 41
schotty is on a distinguished road
Send a message via ICQ to schotty Send a message via AIM to schotty Send a message via Yahoo to schotty
pygtk errors

Hello!

I have a few applications that are having some pygtk errors that I cannot figure out how to correct.
here is what error I get, the only change really is the script name/path.

Code:
Traceback (most recent call last): File "/usr/bin/waiconfig", line 6, in ? import pygtk ; pygtk.require('2.0') ImportError: No module named pygtk
Any ideas?

The obvious thing is yes, I do have both pygtk and pygtk2 installed. But apparently python isnt seeing them.

Thanks much!
__________________
schotty is offline   Reply With Quote
Old 02-20-2003, 12:59 PM   #2 (permalink)
saline
I am red.
 
saline's Avatar
 
Join Date: Feb 2003
Location: Cleveland, OH
Posts: 139
saline is on a distinguished road
hmmm

Well I'm new to python but very experienced with errors. I assume you installed the modules to the right place? They're in the lib (or is it include) folder.

What do you mean by this:

"the only change really is the script name/path."

Could you explain further?

Other places I would recommend:

irc.freenode.net #python

google group comp.lang.python:
http://groups.google.com/groups?hl=e...mp.lang.python

and of course:
http://www.python.org

Let me know what happens.
__________________
saline is offline   Reply With Quote
Old 02-20-2003, 04:01 PM   #3 (permalink)
schotty
RedHat's Manwhore
 
schotty's Avatar
 
Join Date: Feb 2003
Location: Milwaukee
Posts: 41
schotty is on a distinguished road
Send a message via ICQ to schotty Send a message via AIM to schotty Send a message via Yahoo to schotty
Re: hmmm

Quote:
Originally posted by saline

What do you mean by this:

"the only change really is the script name/path."

Could you explain further?
Easy. I got three apps that barf out with identical messages with the only difference is the application name in the error

Never had a problem before that gave me errors like this ...

Ill hit IRC and see what ideas get spit out. Cuz' I sure the hell am out of em ;D
__________________
schotty is offline   Reply With Quote
Old 02-20-2003, 05:15 PM   #4 (permalink)
schotty
RedHat's Manwhore
 
schotty's Avatar
 
Join Date: Feb 2003
Location: Milwaukee
Posts: 41
schotty is on a distinguished road
Send a message via ICQ to schotty Send a message via AIM to schotty Send a message via Yahoo to schotty
well in IRC I did a few things. Installed the appropriate pygtk module for my version of python. That still didnt do the trick, so I was told to see what my $PYTHONPATH was. Nothing. Setting that right made the stuff work.

So that was really it :rock:

All fixed! Schweeeet!
__________________
schotty is offline   Reply With Quote
Old 02-20-2003, 10:06 PM   #5 (permalink)
saline
I am red.
 
saline's Avatar
 
Join Date: Feb 2003
Location: Cleveland, OH
Posts: 139
saline is on a distinguished road
irc to the rescue

Rockin', glad you got your answer.
__________________
saline is offline   Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Compilation errors. liguorir Standard C, C++ 2 05-23-2004 06:21 PM
Linker errors on my linked list... Danish Standard C, C++ 1 03-02-2003 07:59 PM
errors, .. hard drive related? sde Linux / BSD / OS X 1 07-31-2002 08:29 PM


All times are GMT -8. The time now is 11:52 AM.


Powered by vBulletin Version 3.6.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0 RC8





Copyright © 2000-2006, Milano Interactive
Web Hosting provided by Portal 360 Web Hosting
Open Circle