[Twisted-Python] Please help - no module named S3
jml at mumak.net
Wed Feb 13 17:12:16 EST 2008
On Feb 14, 2008 9:07 AM, Marc Byrd <dr.marc.byrd at gmail.com> wrote:
> I'm trying to use the S3 library from amazon within a twisted app. If I
> import S3 from the interactive console, no problem. If I import S3 from
> twisted python program (that works fine w/o), I get Failed to load
> application: No module named S3 .
> The S3.py and S3.pyc are in the directory from where I start twistd . Other
> such modules work fine...
The current working directory is not in the Python load path by
default. Make sure that S3.py is in a directory that appears in your
sys.path, or use the PYTHONPATH environment variable to specify the
directory that they are in.
More information about the Twisted-Python