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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
02-03-2008, 10:53 AM
|
#1
|
|
LQ Newbie
Registered: Dec 2007
Posts: 8
Rep:
|
wxPython not installing correctly on Slack 12, possible related issues
I have been trying to install PlayOnLinux since yesterday to no avail. The configure halts at
Code:
PlayOnLinux v2.0
----------------
Checking python : [ Ok ]
Traceback (most recent call last):
File "/home/trako/programs/playonlinux/python/mainwindow.py", line 22, in <module>
import wxversion, os, getopt, sys, urllib, signal, socket
ImportError: No module named wxversion
I installed wxPython, and the error persisted. I searched and saw I might need wxGTK, got that, still had the error.
I did a file search for wxversion, and there it was, in the folder where I extracted the wxPython installer, not in the proper place. I reconfigured, remade, and reinstalled several times and it still stays put there.
So... where exactly does wxversion go? Is there an underlying problem with the installer or other scripts if it can't install properly?
By the way, I have Python 2.5.1 if that helps any.
Any help would be appreciated.
|
|
|
|
02-04-2008, 01:48 PM
|
#2
|
|
Senior Member
Registered: Mar 2002
Location: Los Angeles, CA
Distribution: Debian, Ubuntu
Posts: 1,334
Rep:
|
Quote:
Originally Posted by Trako
I have been trying to install PlayOnLinux since yesterday to no avail. The configure halts at
Code:
PlayOnLinux v2.0
----------------
Checking python : [ Ok ]
Traceback (most recent call last):
File "/home/trako/programs/playonlinux/python/mainwindow.py", line 22, in <module>
import wxversion, os, getopt, sys, urllib, signal, socket
ImportError: No module named wxversion
I installed wxPython, and the error persisted. I searched and saw I might need wxGTK, got that, still had the error.
I did a file search for wxversion, and there it was, in the folder where I extracted the wxPython installer, not in the proper place. I reconfigured, remade, and reinstalled several times and it still stays put there.
So... where exactly does wxversion go? Is there an underlying problem with the installer or other scripts if it can't install properly?
By the way, I have Python 2.5.1 if that helps any.
Any help would be appreciated.
|
All the wxPython (along with all other python modules) go in the site-packages directory for your python install. Typically, this is in /usr/lib/python<version>/site-pacakges. You can put it somewhere else & specify the path to the root of new location by setting the env var PYTHONHOME (which may allow colon notation for specifying two paths - I haven't tried so I can't confirm). As an example, in the path I gave above, PYTHONHOME would be /usr. It follows, then, that if you set PYTHONHOME to "~/", you'll need ~/lib/python2.5/site-packages.
All that said, something else is probably wrong that causing the make to fail & not install these things in the right place. I would look into that first - dist-clean the install dir & re-run configure (watching for errors/warnings), see what the output of make is, run tests (doesn't wxpython have a "make test"?), etc etc.
As I remember, installing wxPython from source is a royal pain. better to do it with a package manager - slack has one of those, doesn't it?
Last edited by BrianK; 02-04-2008 at 01:50 PM.
|
|
|
|
02-05-2008, 01:25 PM
|
#3
|
|
LQ Newbie
Registered: Dec 2007
Posts: 8
Original Poster
Rep:
|
I am bouncing between Slack and Kubuntu. Slack pretty much runs the latest version of wine flawlessly with little to no trouble straight from source. Kubuntu ont he other hand has a packag manager but still has trouble running several things that Slack can. I just wish I could find a middle ground, or some way that I can use one or the other, since the prospect of dual booting just do play games in Slack and to do fancy non-game stuff in Kubuntu isn't very appealing.
Slack has slapt-get, which is maintained third-party, not official. Even then, the packages aren't there, Slack is mainly a source-heavy distro.
With every wipe and bounce, I learn more about linux, I'm getting better with installs, libraries, dependencies and source.
I like using source because it's the latest, probably has a lot of bug fixes the package versions don't have, since a lot of packages are outdated by several point releases.
Perhaps my issue lies with trying to adopt the wrong distro. I'd like to have the convenience of package management but also the freedom to use source when I need to.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 05:46 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|