LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 01-09-2005, 11:48 AM   #1
servnov
Member
 
Registered: Sep 2004
Distribution: Slackware 10.2
Posts: 276

Rep: Reputation: 30
getting wxPython to work with python


I am having great trouble trying to get the wxPython libs avaiable to the python interpreter.

I have tried on both python2.3 and python2.4, building wxPython from source failed with make errors, and I have used a binary of wxPython-2.5.3.1 (slackware pkg). When I use the pkg it installs fine but python cannnot fine it.

Code:
bash-2.05b$ python
Python 2.4 (#1, Nov 30 2004, 12:04:19)
[GCC 3.3.4] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from wxPython.wx import *
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
ImportError: No module named wxPython.wx
>>>
Please help, as I got python and wxpython working nicely on win32 and I want to make some programs.

And yes, I have glib version 1 and 2 and gtk+ ver 1 and 2 installed and working good.
 
  


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
Python doesn't work zirtik Programming 9 10-17-2005 05:28 AM
newbie, getting simple python script to work Monjawi Programming 6 10-03-2005 11:51 AM
python doesn´t work little_ball Linux - Newbie 4 12-04-2004 09:09 AM
Python XML won't work. Travis86 Programming 0 09-14-2004 05:13 PM
Installing Bittorrent (Along with Python/wxPython) TheVrolok Slackware 6 07-19-2003 12:49 PM


All times are GMT -5. The time now is 02:20 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