Hi Michal, Here's the output: [EMAIL PROTECTED] [~]# python Python 2.4.3 (#1, Aug 18 2006, 22:31:12) >>> from S3 import PkgInfo Traceback (most recent call last): File "<stdin>", line 1, in ? ImportError: No module named S3 >>> >>> >>> import sys >>> print sys.path ['', '/usr/local/lib/python24.zip', '/usr/local/lib/python2.4', '/usr/local/lib/python2.4/plat-linux2', '/usr/local/lib/python2.4/lib-tk', '/usr/local/lib/python2.4/lib-dynload', '/usr/local/lib/python2.4/site-packages']
Thanks for your help. :) -=Grig Michal Ludvig wrote: > Hi Grig, > > >> Traceback (most recent call last): >> File "/usr/bin/s3cmd", line 1084, in ? >> sys.stderr.write("S3cmd: %s\n" % PkgInfo.version) >> NameError: name 'PkgInfo' is not defined >> > > Can you please run python from the shell and try "from S3 import > PkgInfo" as in here: > > ~$ python > Python 2.4.3 (#1, May 24 2008, 13:47:28) > > >>>> from S3 import PkgInfo >>>> print PkgInfo.version >>>> > 0.9.8.4 > > If it fails try to import sys and print sys.path: > > >>>> import sys >>>> print sys.path >>>> > ['', '/usr/lib/python24.zip', '/usr/lib/python2.4', > '/usr/lib/python2.4/plat-linux2', '/usr/lib/python2.4/lib-tk', > '/usr/lib/python2.4/lib-dynload', '/usr/lib/python2.4/site-packages'] > > What output / errors do you get? > > Michal > > > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ S3tools-general mailing list S3tools-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/s3tools-general