LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-07-2007, 04:58 PM   #1
andymckay2001
LQ Newbie
 
Registered: Mar 2007
Posts: 8

Rep: Reputation: 0
help!! seriously confused


Had a really good reply the other day about pykaraoke on YDL.

Seemed to have installed everything ok but.......

everytime I try to run it I get:

Traceback (most recent call last):
File "/usr/bin/pykaraoke", line 2, in ?
import pykaraoke
File "/usr/lib/python2.4/site-packages/pykaraoke.py", line 125, in ?
import os, string, wx, sys
ImportError: No module named wx

obviously it's looking for a file in the pykaraoke.py exe file.
Is it possible to open this file to see where its looking or can anybody give me any other ideas.

thanks for any help

 
Old 04-07-2007, 06:03 PM   #2
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 96
Hi.

It looks like it can't find the wx libaries. I see from a previous post that you're using YDL, so you should be able to do:
Code:
yum install wxPython
to install the package.

.py files are just text files so you can open pykaraoke.py using the editor of your choice.

Dave
 
Old 04-08-2007, 01:13 PM   #3
andymckay2001
LQ Newbie
 
Registered: Mar 2007
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by ilikejam
Hi.

It looks like it can't find the wx libaries. I see from a previous post that you're using YDL, so you should be able to do:
Code:
yum install wxPython
to install the package.

.py files are just text files so you can open pykaraoke.py using the editor of your choice.

Dave
Cheers for the reply.
Tried : yum install wxpython but to no avail

all I got was :

Repository updates is listed more than once in the configuration
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
freshrpms [1/5]
os [2/5]
updates [3/5]
base [4/5]
extras [5/5]
Reading repository metadata in from local files
Parsing package install arguments
No Match for argument: wxpython
Nothing to do
[

and wjen I try to run pykaraoke again it just comes up with the same message as before.

 
Old 04-08-2007, 01:19 PM   #4
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 96
Hi again.

yum, like most things Unix, is case sensitive so you'll have to run 'yum install wxPython' and not 'yum install wxpython'

If that still fails, post the output from 'yum list all | grep -i wx'.

Dave

Last edited by ilikejam; 04-08-2007 at 01:20 PM.
 
Old 04-10-2007, 05:22 PM   #5
andymckay2001
LQ Newbie
 
Registered: Mar 2007
Posts: 8

Original Poster
Rep: Reputation: 0
still no joy.....
here's the output from that command (hope this helps you help me)

Repository base is listed more than once in the configuration
Repository updates is listed more than once in the configuration
Repository extras is listed more than once in the configuration
wxGTK.ppc 2.6.3-2.6.3.2.2.fc5 installed
wxPython-common-gtk2-ansi.i386 2.8.3.0-fc4_py2.4 installed
compat-wxGTK.ppc 2.4.2-21.fc4 extrasfc4
compat-wxGTK-common.ppc 2.4.2-21.fc4 extrasfc4
compat-wxGTK-common-devel.ppc 2.4.2-21.fc4 extrasfc4
compat-wxGTK-devel.ppc 2.4.2-21.fc4 extrasfc4
compat-wxGTK-gl.ppc 2.4.2-21.fc4 extrasfc4
compat-wxGTK-stc.ppc 2.4.2-21.fc4 extrasfc4
compat-wxGTK-xrc.ppc 2.4.2-21.fc4 extrasfc4
compat-wxGTK2.ppc 2.4.2-21.fc4 extrasfc4
compat-wxGTK2-devel.ppc 2.4.2-21.fc4 extrasfc4
compat-wxGTK2-gl.ppc 2.4.2-21.fc4 extrasfc4
compat-wxGTK2-stc.ppc 2.4.2-21.fc4 extrasfc4
compat-wxGTK2-xrc.ppc 2.4.2-21.fc4 extrasfc4
compat-wxPythonGTK2.ppc 2.4.2.4-12.fc4 extrasfc4
plplot-wxGTK.ppc 5.6.1-3.fc4 extrasfc4
wxGTK.ppc 2.6.3-2.6.3.2.2.fc4 extrasfc4
wxGTK-devel.ppc 2.6.3-2.6.3.2.2.fc4 extrasfc4
wxGTK-gl.ppc 2.6.3-2.6.3.2.2.fc4 extrasfc4
wxGTK-stc.ppc 2.4.2-4.0.yd4.fr freshrpms2
wxGTK-xrc.ppc 2.4.2-4.0.yd4.fr freshrpms2
wxPython.ppc 2.6.3.2-1.fc4 extrasfc4
wxPython-devel.ppc 2.6.3.2-1.fc4 extrasfc4


cheers
 
Old 04-10-2007, 05:48 PM   #6
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 96
From that output
Code:
yum install wxPython
(run as root) should work. Could you post the output when you run this command?

Dave
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
This one has me confused... lordtweety Linux - Networking 2 09-01-2006 06:21 AM
Very confused unkn0wnhacka Linux - General 12 07-20-2005 09:44 AM
confused FrozenPenquin Linux - Newbie 26 12-09-2003 09:27 AM
C++ and very confused james.farrow Programming 5 11-28-2003 01:58 PM
IM Confused, Again? Winux Linux - Newbie 3 04-08-2003 03:40 AM


All times are GMT -5. The time now is 04:46 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration