On Wed, May 23, 2018 at 4:09 PM, Brian Keyes <[email protected]> wrote:
> 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
>
what error did you get, and how did you build your image/what base image
are you using?
how were you trying to run pip install?
> 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
> [email protected]
> http://lists.openshift.redhat.com/openshiftmm/listinfo/users
>
>
--
Ben Parees | OpenShift
_______________________________________________
users mailing list
[email protected]
http://lists.openshift.redhat.com/openshiftmm/listinfo/users