Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

aws s3 cp broken in 1.9.11 #1670

Closed
CamJN opened this issue Dec 7, 2015 · 6 comments
Closed

aws s3 cp broken in 1.9.11 #1670

CamJN opened this issue Dec 7, 2015 · 6 comments
Labels
guidance Question that needs advice or information.

Comments

@CamJN
Copy link

CamJN commented Dec 7, 2015

aws s3 cp s3://aws-logs-777423221348-us-east-1/elasticmapreduce/j-2WTZ7AWUMJ0K2/node/i-a7fdd917/bootstrap-actions/2/controller.gz /tmp/

'Session' object has no attribute 'get_default_client_config'

@CamJN
Copy link
Author

CamJN commented Dec 7, 2015

Probably has to do with the changes to awscli/clidriver.py 33a68f9#diff-63f67c748224f51280a660105cbea98d

@kyleknap
Copy link
Member

kyleknap commented Dec 8, 2015

What installation method are you using to the install the CLI? I have a feeling that the botocore version you are using is out of sync with the version of the CLI. You can tell by using --version.

$ aws --version
aws-cli/1.9.11 Python/2.7.5 Darwin/13.4.0 botocore/1.3.11

If you are not using 1.3.11 of botocore, you will get the error that you pointed out. Let me know.

@kyleknap kyleknap added the closing-soon This issue will automatically close in 4 days unless further comments are made. label Dec 8, 2015
@CamJN
Copy link
Author

CamJN commented Dec 8, 2015

Yeah it's aws-cli/1.9.11 Python/2.7.10 Darwin/15.0.0 botocore/1.3.6, I installed via homebrew.

@kyleknap
Copy link
Member

kyleknap commented Dec 8, 2015

Ah. I would recommend not installing with brew as we do not maintain nor officially support brew as an installation method. You may need to contact whoever maintains the brew package of the CLI to get this fixed if you are set on using brew. I would recommend using pip to install the CLI or through the bundled installer as those are both something that we maintain and officially support as installation methods.

I also noticed that you are using El Capitan. Some people have ran into issues when installing with pip and no virtualenv, but it looks like users have figured out how to get it to work: #1522.

Let me know if you have any more questions or need any more help

@CamJN
Copy link
Author

CamJN commented Dec 8, 2015

Yeah I'm not normally a python developer so when I ran into this problem I didn't think to look in the system python site-packages dir. Turns out that there was a bunch of outdated stuff in there that was screwing with this tool.

@kyleknap kyleknap added question and removed closing-soon This issue will automatically close in 4 days unless further comments are made. labels Dec 8, 2015
@kyleknap
Copy link
Member

kyleknap commented Dec 8, 2015

Cool. Glad to here you got it working then. Closing issue.

@kyleknap kyleknap closed this as completed Dec 8, 2015
@diehlaws diehlaws added guidance Question that needs advice or information. and removed question labels Jan 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
guidance Question that needs advice or information.
Projects
None yet
Development

No branches or pull requests

3 participants