awscli-s3touch icon indicating copy to clipboard operation
awscli-s3touch copied to clipboard

Compatible with awscli 2?

Open drewish opened this issue 4 years ago • 1 comments

I was trying to use this with aws-cli/2.2.43 Python/3.9.7 Darwin/19.6.0 source/x86_64 prompt/off but once I run:

$ aws configure set plugins.name awscli.plugins.s3touch

I start getting the same error after every command:

$ aws help

No module named 'awscli.plugins'

Anyone had it working with v2?

drewish avatar Oct 08 '21 23:10 drewish

I was able to get this working by moving it out of the awscli directory:

mv /usr/local/lib/python3.9/site-packages/awscli/plugins/s3touch /usr/local/lib/python3.9/site-packages/

And changing the plugin config to uses the un-prefixed module name:

[plugins]
cli_legacy_plugin_path=/usr/local/lib/python3.9/site-packages
s3touch = s3touch

I had to install boto3 as well:

/usr/local/bin/pip3 install boto3

drewish avatar Oct 11 '21 18:10 drewish