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

python does not seem to find installed modules



I am still struggling to get wxPython to work.

The following happens when I try to run a program "taalunie.py" which
I wrote earlier:

-------------------------------------------
Gdk-WARNING **: locale not supported by C library
Traceback (innermost last):
  File "<stdin>", line 18, in ?
  File "wx.py", line 6, in ?
  File "misc2.py", line 4, in ?
    from windows import *
  File "windows.py", line 8, in ?
    from clip_dnd import *
ImportError: No module named clip_dnd
------------------------------

$locate clip_dnd
/usr/lib/python1.5/site-packages/wxPython/clip_dnd.py
/usr/lib/python1.5/site-packages/wxPython/clip_dnd.pyc
/usr/lib/python1.5/site-packages/wxPython/clip_dnd.pyo

I have tried to set $PYTHONHOME and $PYTHONPATH to /usr/lib/python1.5
but that did not help.

I this a bug in the debian python packages?  All previous versions of
python in debian I have used was usable right after installation.
This one (Woody - from unofficial CD's) not.

Johann
-- 
J.H. Spies - Tel. 021-982 2694 / 082 782 0336 / 021-808 4036(w)  
             Posbus 4668, Tygervallei 7536
     "And we know that all things work together for good to 
      them that love God, to them who are the called  
      according to his purpose."            
                                   Romans 8:28 



Reply to: