Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 12-18-2003, 03:46 PM   #1
Registered: Sep 2003
Distribution: Slackware 9.1 with fluxbox
Posts: 259

Rep: Reputation: 30
python problems with fluxspace

Hi, tyring to install fluxspace which has some cool stuff for fluxbox (workspace specific-wallpapers and such)
Here is the website for reference
When I run fluxspace after installing:
robert@MOFETTE:~$ fluxspace
'import site' failed; use -v for traceback
Traceback (most recent call last):
  File "/usr/local/bin/fluxspace", line 15, in ?
    import fluxspace
ImportError: No module named fluxspace
now, i read the documentation at
whic has the same error in troubleshooting, but I don't know if it is ebcause I'm bad at reading documentation, or what
Anyway, while trying to follow directions, i made a file called in
usr/lib/python2.x/site-packages/ and in /usr/local/lib/python2.2/site-packages
which is (copied)
import sys
version = '%d.%d' % (sys.version_info[0], sys.version_info[1])
addPath = '/usr/local/lib/python%s/site-packages' % version
    sys.path.insert(0, addPath)
but it didnt seem to help

Old 12-19-2003, 04:51 AM   #2
Registered: Nov 2002
Location: England
Distribution: Ubuntu 9.04
Posts: 631

Rep: Reputation: 30
Hi Tyir,

Interesting question.

Can you post a couple of other bits of information please :
1. The location of the file (hopefully in /usr/local/python2.2/site-packages but you don't say)
2. At the end of "" can you run the command
print sys.path
and post the output.

Something else you could try is to start up the python interpreter and test it from there.
>>> import sys
>>> version = '%d.%d' % (sys.version_info[0], sys.version_info[1])
>>> addPath = '/usr/local/lib/python%s/site-packages' % version
>>> sys.path.insert(0, addPath)
>>> print sys.path
['/usr/local/lib/python2.2/site-packages', '', '/opt/freeware/lib/python2.2',  
/opt/freeware/lib/python2.2/plat-aix4', '/opt/freeware/lib/python2.2/lib-dynload', 
>>> import fluxspace

Last edited by iainr; 12-19-2003 at 04:56 AM.


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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Need help starting Fluxspace... Adan Linux - Software 0 09-26-2004 02:43 PM
FLUXSPACE installing help slack_baby Linux - Newbie 5 05-23-2004 10:22 AM
Fluxspace and Python Waldi Slackware 3 03-05-2004 09:49 PM
Problems installing Fluxspace slackmagic Linux - Newbie 1 09-09-2003 03:12 PM
fluxspace and python pbaumgar Linux - Software 3 05-24-2003 04:43 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:18 AM.

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