LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 12-10-2007, 01:21 AM   #1
teknik
Member
 
Registered: Jun 2006
Location: Winnipeg, Canada
Distribution: Slackware 12.1
Posts: 33

Rep: Reputation: 16
Python and wxWidgets help


Hi,

I'm running Slackware 12, and I have installed the following packages from linuxpackages.net :

wxGTK-2.8.4
wxPython-2.8.6.1
wxWidgets-2.8.6

When in python, if I try to import wx, I get this error:
Code:
>>> import wx
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named wx
>>>
looking in the site-packages directory...there is no wx anything in there, which is weird to me because I have those packages installed. I'm not sure if I have to change a path somewhere or link some things somewhere? Am I missing a package? Please any help would be appreciated, this is driving me nuts. Thanks.
 
Old 01-17-2008, 04:46 PM   #2
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Ruhr Area, Germany
Distribution: Slackware64 14.0
Posts: 1,517

Rep: Reputation: 90
Hi teknik,

I just stumpled upon your question and thought you might want a response, even if it's somewhat late

What you installed looks like overkill. wxWidgets and wxGTK are basically the same, because on Linux wx uses the GTK toolkit. I installed wxPython some days ago with the slackbuild from www.slackbuild.org -- at least their version conflicts with wxGTK, so that I am fine with wxPython alone.

I hope you can still make use of my suggestion ...
 
  


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
wxwidgets book - very necessary saied Programming 4 10-31-2006 01:04 PM
wxWidgets kornerr Programming 2 10-13-2005 10:05 AM
Problems with wxWidgets DonBilbo Linux - Software 3 10-12-2005 09:21 AM
wxwidgets, anyone used it? acidjuice Programming 6 03-31-2005 03:28 AM
wxwidgets and audacity slinky2004 Linux - Newbie 9 10-19-2004 02:03 PM


All times are GMT -5. The time now is 12:04 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration