On 4/5/2014 11:47 AM, Matt Domsch wrote:
> You have stuff in /usr/local/lib at least, and you say you have the
> RPM installed too.  Not good.
> 
> I'd nuke the S3 directory from /usr/local/lib first of all, and
> /usr/local/bin/s3cmd.  And rpm -e s3cmd   to get rid of the RPM
> package.
> 
> Then get the ZIP file and unzip it.
> 
> wget https://github.com/s3tools/s3cmd/archive/master.zip
> unzip master.zip
> cd s3cmd-master
> ./s3cmd (do your thing)
> 
Ok it took a bit....


After tracking down and installing python-dateutil I was able to get
the git master version to run.  But only if the executable is located
where I unpacked the zip.

Using the "python install.py install" command seems to install
the libraries in /usr/local/lib/python2.6/site-packages and the
s3cmd in /usr/local/bin as you would expect, but trying to run it
still gives the error:

> Traceback (most recent call last):
>   File "/usr/local/bin/s3cmd", line 2266, in <module>
>     from S3.FileDict import FileDict
> ImportError: No module named FileDict
> 
> Your sys.path contains these entries:
>         /usr/local/bin
>         /usr/lib/python26.zip
>         /usr/lib/python2.6
>         /usr/lib/python2.6/plat-linux2
>         /usr/lib/python2.6/lib-tk
>         /usr/lib/python2.6/lib-old
>         /usr/lib/python2.6/lib-dynload
>         /usr/lib/python2.6/site-packages
>         /usr/local/lib/python2.6/site-packages
>         /usr/lib/python2.6/site-packages/gtk-2.0
> Now the question is where have the s3cmd modules been installed?

So the question is:
/usr/local/lib/python2.6/site-packages/S3/FileDict.py

exists and that path is in the python search path so why is it not being
found?

-- 
Will McCown, Rolling Hills Estates, CA
w...@ross-mccown.com

------------------------------------------------------------------------------
_______________________________________________
S3tools-general mailing list
S3tools-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/s3tools-general

Reply via email to