I want to use BOTO3 in openshift , with python

this is my script



import boto3
s3 = boto3.resource('s3')
my_bucket = s3.Bucket('public-resources.sandbox.vizuri.com')
for object in my_bucket.objects.all():
print(object)

this is the error I get



ImportError: No module named boto3

I know for a fact when i did this locally , I had to install BOTO3 before
running this above script and all worked fine . all of the normal way to
install boto3 would not work inside openshift

for example "pip install boto3" works locally but when in openshift it
throws a syntax error

but how would you do this exactly in open shift ,  how can I install boto3
in openshift environment???

thanks !!!!!!!

-- 
Bri00.11-R.
_______________________________________________
users mailing list
users@lists.openshift.redhat.com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users

Reply via email to