I'm trying to use Delete the final path component. PYTHONPATH so that Python knows where my library is Is located, but it seems to ignore it:
$ PYTHONPATH = / home / osqa / EC2 / backup / src / boto / $ ls / home / osqa / EC2 / backup / src / Boto / boto / ec2 / Connection.py/home/osqa/EC2/backup/src/boto/boto/ec2/connection.py $ python backup.py traceback (most recent call final): File "backup.py" Line 4, & lt; In module & gt; Import from boto.ec2.connection to EC2Conction Import Errors: A module called boto.ec2.connection
< Instead, use either
export and
export PYTHONPATH = / home / osqa / EC2 / backup / src /
Comments
Post a Comment