LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 03-10-2004, 08:16 AM   #1
shents
LQ Newbie
 
Registered: Nov 2003
Location: Teesside Uni
Posts: 1

Rep: Reputation: 0
No module named wxPython.wx


hi, i have only been using linux for about 3 months, im on Mandrake 9.2.

im trying to get ABC working (bit torrent downloader) but everytime i try to install ABC i get the following error.

[root@boshkins ABC-Linux-V.2.4.3]# python abc.py
Traceback (most recent call last):
File "abc.py", line 2, in ?
from wxPython.wx import *
ImportError: No module named wxPython.wx

i have installed wxpython 2.4.2.4, with out problems and run setup.py in the directory wxPythonSrc-2.4.2.4/wxPython, still with no luck.....theres probably a easy solution to this problem but i can't see it, hopefully one of you people can help me out.

chears
 
Old 03-10-2004, 09:59 AM   #2
rootyard
Member
 
Registered: Aug 2003
Posts: 167

Rep: Reputation: 30
What directory is wxPython installed in? It should be in python/Lib/site-packages. Make sure it's there...
 
Old 01-12-2005, 05:41 AM   #3
KingOfDreams
LQ Newbie
 
Registered: Jan 2005
Location: East of Eden
Distribution: Slackware
Posts: 27

Rep: Reputation: 15
I am having the same problem.

slack-current-2.6.10
 
Old 01-30-2005, 09:08 PM   #4
eightbits
LQ Newbie
 
Registered: Jan 2005
Distribution: Slackware
Posts: 13

Rep: Reputation: 0
wxPython.wx module permissions problems

Terrible! This package doesn't install very well at all. I ran into this problem on FC2. If you try to run an app that uses wxPython.wx you get this error that there is no wxPython.wx module. However, if you run as root, all is well. This is a permissions problem and can be fixed by giving world wide read permissions to this file:

/usr/lib/python2.3/site-packages/wx.pth

Easy way to do this is become root and type this:

chmod 644 /usr/lib/python2.3/site-packages/wx.pth

NOTE: I used a leading 6 because the default perms for this file are 600. Don't think root REALLY needs write permission, but it doesn't really matter. I figure I'll just leave those perms alone and set read for everyone else.

Hope that helps!
 
  


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
gDesklets - ImportError: No module named gnome.ui raffi Linux - Software 9 10-20-2005 12:48 PM
iPodder: ImportError: No module named wx dr_zayus69 Linux - Software 6 07-06-2005 01:55 AM
Freevo : No module named utils whansard Linux - Software 1 01-30-2005 06:24 PM
ImportError: No module named libglade Kanaflloric Programming 0 08-16-2004 09:58 PM
ImportError: No module named gconf linorg Linux - Software 8 02-02-2004 04:37 PM


All times are GMT -5. The time now is 07:02 AM.

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