Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No module named builtins #91

Closed
cloudlady911 opened this issue Aug 26, 2018 · 4 comments · May be fixed by #98
Closed

No module named builtins #91

cloudlady911 opened this issue Aug 26, 2018 · 4 comments · May be fixed by #98

Comments

@cloudlady911
Copy link

I am getting the following error:

[ec2-user@operator ~]$ sudo amicleaner --full-report
Traceback (most recent call last):
  File "/usr/local/bin/amicleaner", line 11, in <module>
    load_entry_point('aws-amicleaner==0.2.2', 'console_scripts', 'amicleaner')()
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 564, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2662, in load_entry_point
    return ep.load()
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2316, in load
    return self.resolve()
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2322, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/usr/local/lib/python2.7/site-packages/amicleaner/cli.py", line 6, in <module>
    from builtins import input
ImportError: No module named builtins

Python 2.7
Latest AWSCLI

@finferflu
Copy link

I've fixed this by running

pip install future

I think this needs to be added as a dependency.

@cloudlady911
Copy link
Author

Thanks I will give this a try

@cloudlady911
Copy link
Author

That seems to have done the trick. Thanks.

@ccggeo
Copy link

ccggeo commented Jan 22, 2020

This is still a problem. Is this project being actively maintained anymore?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants