You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am a developer on pkgsrc, and we got a bug report (http://gnats.netbsd.org/54094) that is ultimately due to botocore.
$ aws help
Traceback (most recent call last):
File "/usr/pkg/bin/aws", line 19, in <module>
import awscli.clidriver
File "/usr/pkg/lib/python2.7/site-packages/awscli/clidriver.py", line 17, in <module>
import botocore.session
File "/usr/pkg/lib/python2.7/site-packages/botocore/session.py", line 29, in <module>
import botocore.configloader
File "/usr/pkg/lib/python2.7/site-packages/botocore/configloader.py", line 19, in <module>
from botocore.compat import six
File "/usr/pkg/lib/python2.7/site-packages/botocore/compat.py", line 172, in <module>
import xml.etree.cElementTree
File "/usr/pkg/lib/python2.7/xml/etree/cElementTree.py", line 3, in <module>
from _elementtree import *
ImportError: No module named _elementtree
$ pkgin install py27-cElementTree
[...]
$ aws help
[now works]
In botocore/compat.py, line 172, there is an import for cElementTree but the requirements (setup.py and others) do not mention this dependency/
The text was updated successfully, but these errors were encountered:
It is not listed in the requirements because it is part of the Python Standard Library. There is no need for us to declare it as a dependency as it is automatically included in all versions of Python we support. Let us know if you have anymore questions.
I am a developer on pkgsrc, and we got a bug report (http://gnats.netbsd.org/54094) that is ultimately due to botocore.
In botocore/compat.py, line 172, there is an import for cElementTree but the requirements (
setup.py
and others) do not mention this dependency/The text was updated successfully, but these errors were encountered: