bug-gnubg
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnubg] missing os.path (linux)


From: steve berthiaume
Subject: Re: [Bug-gnubg] missing os.path (linux)
Date: Sun, 7 Dec 2008 21:44:58 +0800

hi jim; thanks for the reply!

my os.py file seems to be located at:

/usr/lib/python2.4/os.py

now, when i start gnubg from the command line (this is how i've been starting it so far anyway, due to my problems), i don't get the gui.  i get the opening copeland fanfare, but that's as far as it goes, along with the text i posted originally.

what i did do was launch python from that prompt and continued following your suggestion from there:

# gnubg
GNU Backgammon 0.16-develCopyright 1999, 2000, 2001, 2002, 2003, 2004 by Gary Wong.
GNU Backgammon is free software, covered by the GNU General Public License
version 2, and you are welcome to change it and/or distribute copies of it
under certain conditions.  Type "show copying" to see the conditions.
There is absolutely no warranty for GNU Backgammon.  Type "show warranty" for
details.
Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
'import site' failed; use -v for traceback
Traceback (most recent call last):
  File "/usr/share/gnubg/scripts/gnubg.py", line 52, in ?
    import os.path
ImportError: No module named os.path
(No game) >>>                                                              
Python 2.3.4 (#1, Feb  6 2006, 10:38:46)
[GCC 3.4.5 20051201 (Red Hat 3.4.5-2)]
>>> import os.path
Traceback (most recent call last):
  File "???", line 1, in ?
ImportError: No module named os.path
>>>

btw, when i start python outside of gnubg and enter "import os.path" i just get another python prompt; so this seems to work.

maybe it's a matter of setting the gnubg's path?  is this done the same way as in bash, i.e., "$PATH=" etc?

thanks again for taking the time to look at this!
-steve


reply via email to

[Prev in Thread] Current Thread [Next in Thread]