pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/54094: py27-awscli is missing py27-cElementTree dependency



>Number:         54094
>Category:       pkg
>Synopsis:       py27-awscli is missing py27-cElementTree dependency
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Apr 02 16:00:00 +0000 2019
>Originator:     Jan Schaumann
>Release:        NetBSD 7.0
>Organization:
	
>Environment:
	
	
NetBSD ip-10-184-194-93.ec2.internal 7.0 NetBSD 7.0 (XEN3PAE_DOMU.201509250726Z) i386
Architecture: i386
Machine: i386
>Description:

Installing the py27-awscli package does not yield a functional 'aws' command.
It appears that the py27-cElementTree package is missing as a dependency.

>How-To-Repeat:

pkgin install py27-awscli
[...]
$  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]

>Fix:

Add py27-cElementTree as a dependency.

>Unformatted:
 	
 	


Home | Main Index | Thread Index | Old Index