[LDTP-Dev] Python issues.

Sean Miller seanbmiller at gmail.com
Fri Oct 30 08:43:39 PDT 2009


I searched for the ldtp & python and ldtp was installed in python2.4, and
ran this: I also changed my PYTHONPATH to 2.4:
export PYTHONPATH=/usr/lib/python2.4/site-packages/:$PYTHONPATH

Now the commands from the tutorial work when I start from python2.4! Thank
you very much for the help!

I get a different error when I start ldtpeditor:

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/bin/ldtpeditor", line 39, in <module>
    from xml.sax import saxutils
  File "/usr/lib/python2.4/site-packages/_xmlplus/sax/saxutils.py", line 8,
in <module>
    import os, urlparse, urllib2, types
  File "urllib2.py", line 90, in <module>
    import base64
  File "base64.py", line 9, in <module>
    import struct
ImportError: No module named struct
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freedesktop.org/archives/ldtp-dev/attachments/20091030/015de034/attachment.html 


More information about the LDTP-dev mailing list