Closed
Description
Python 3.2
Debian 7
boto 1.1.7 (python3 - easy_install3)
awscli 1.7.44 (python3 - easy_install3)
user@system:~$ aws s3 ls
Traceback (most recent call last):
File "/usr/local/bin/aws", line 5, in <module>
pkg_resources.run_script('awscli==1.7.44', 'aws')
File "/usr/lib/python3/dist-packages/pkg_resources.py", line 499, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/usr/lib/python3/dist-packages/pkg_resources.py", line 1236, in run_script
exec(compile(open(script_filename).read(), script_filename, 'exec'), namespace, namespace)
File "/usr/local/lib/python3.2/dist-packages/awscli-1.7.44-py3.2.egg/EGG-INFO/scripts/aws", line 19, in <module>
import awscli.clidriver
File "/usr/local/lib/python3.2/dist-packages/awscli-1.7.44-py3.2.egg/awscli/clidriver.py", line 25, in <module>
from awscli.formatter import get_formatter
File "/usr/local/lib/python3.2/dist-packages/awscli-1.7.44-py3.2.egg/awscli/formatter.py", line 20, in <module>
from awscli.table import MultiTable, Styler, ColorizedStyler
File "/usr/local/lib/python3.2/dist-packages/awscli-1.7.44-py3.2.egg/awscli/table.py", line 18, in <module>
from awscli.compat import six
File "/usr/local/lib/python3.2/dist-packages/awscli-1.7.44-py3.2.egg/awscli/compat.py", line 25, in <module>
shlex_quote = six.moves.shlex_quote
File "/usr/local/lib/python3.2/dist-packages/botocore-1.1.7-py3.2.egg/botocore/vendored/six.py", line 89, in __get__
result = self._resolve()
File "/usr/local/lib/python3.2/dist-packages/botocore-1.1.7-py3.2.egg/botocore/vendored/six.py", line 154, in _resolve
return getattr(module, self.attr)
AttributeError: 'module' object has no attribute 'quote'
Looked to be an issue in function mappings at botocore/vendored/six.py
(https://github.com/boto/botocore/blob/develop/botocore/vendored/six.py#L235) with 3.2->3,3 changeover but I had more errors when I manually edited that line with other modules. Moving the awscli launcher (/usr/local/bin/aws
) to use python2 fixed the use for me but this seems to be a botocore bug.
Metadata
Metadata
Assignees
Labels
No labels