Tuesday, 6 August 2013

Setting my Python Path?

Setting my Python Path?

I'm trying to run my boto script but I get the following error:
ImportError: No module named boto.swf.layer2
According to pip freeze I have boto installed so I'm wondering what has
gone wrong here.
My python path is as follows:
['', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-linux2',
'/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old',
'/usr/lib/python2.7/lib-dynload',
'/usr/local/lib/python2.7/dist-packages',
'/usr/lib/python2.7/dist-packages']
My boto path is as follows:
/usr/lib/python2.7/dist-packages/boto/__init__.pyc
Does this mean it is some sort of error to do with the python path? I'm
really lost about how to debug this and any input would be much
appreciated.

No comments:

Post a Comment