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

enumerate-iam not running #13

Open
sushantdhopat opened this issue Oct 31, 2020 · 3 comments
Open

enumerate-iam not running #13

sushantdhopat opened this issue Oct 31, 2020 · 3 comments

Comments

@sushantdhopat
Copy link

i run this command after installing the tool and installing all requirements

./enumerate-iam.py --access-key AK*************** --secret-key Mi**************************************

this command give me the error

Traceback (most recent call last):
File "./enumerate-iam.py", line 4, in
from enumerate_iam.main import enumerate_iam
File "/root/enumerate-iam/enumerate_iam/main.py", line 22, in
import boto3
ImportError: No module named boto3

intstall it boto3 with agian sudo pip install boto3 they give this response

Requirement already satisfied: boto3 in /usr/local/lib/python3.8/dist-packages (1.16.9)
Requirement already satisfied: s3transfer<0.4.0,>=0.3.0 in /usr/local/lib/python3.8/dist-packages (from boto3) (0.3.3)
Requirement already satisfied: jmespath<1.0.0,>=0.7.1 in /usr/local/lib/python3.8/dist-packages (from boto3) (0.10.0)
Requirement already satisfied: botocore<1.20.0,>=1.19.9 in /usr/local/lib/python3.8/dist-packages (from boto3) (1.19.9)
Requirement already satisfied: python-dateutil<3.0.0,>=2.1 in /usr/lib/python3/dist-packages (from botocore<1.20.0,>=1.19.9->boto3) (2.7.3)
Requirement already satisfied: urllib3<1.26,>=1.25.4; python_version != "3.4" in /usr/local/lib/python3.8/dist-packages (from botocore<1.20.0,>=1.19.9->boto3) (1.25.8)

after i run again the

./enumerate-iam.py --access-key AK*************** --secret-key Mi**************************************

but this again give me same error

Traceback (most recent call last):
File "./enumerate-iam.py", line 4, in
from enumerate_iam.main import enumerate_iam
File "/root/enumerate-iam/enumerate_iam/main.py", line 22, in
import boto3
ImportError: No module named boto3

how can i solve this error ??? please any help kindly

Thanks in advance

@mikerod-sd
Copy link

Create a virtualenv for it and rerun pip.

@pdelteil
Copy link

Try using python3 directly

python3 enumerate-iam.py

@br33z3
Copy link

br33z3 commented Sep 19, 2021

pip3 install boto3

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

No branches or pull requests

4 participants