Skip to content

importlib requirement not installed when skew is installed using pip (1.3.1 from /usr/lib/python2.6/site-packages (python 2.6)) #53

@ghost

Description

When I install skew using pip 1.3.1 from /usr/lib/python2.6/site-packages (python 2.6), running Python 2.6.9 (tested on Amazon Linux), the pip install succeeds with the following message at the end:

Successfully installed skew botocore jmespath simplejson

But when I try to import skew, I get the following error:

$ python
Python 2.6.9 (unknown, Sep 13 2014, 00:25:11)
[GCC 4.8.2 20140120 (Red Hat 4.8.2-16)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import skew
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.6/site-packages/skew/__init__.py", line 19, in <module>
    from skew.arn import ARN
  File "/usr/lib/python2.6/site-packages/skew/arn/__init__.py", line 22, in <module>
    import skew.resources
  File "/usr/lib/python2.6/site-packages/skew/resources/__init__.py", line 14, in <module>
    import importlib
ImportError: No module named importlib
>>>

This gets fixed if I do a pip install importlib.

I would want importlib to get installed as a dependency when I do a pip install skew.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions