nccgroup / aws-inventory

Discover resources created in an AWS account.
Apache License 2.0
707 stars 128 forks source link

Issue with Dependency #25

Open deveddev opened 5 years ago

deveddev commented 5 years ago

I have installed the requests dependency via pip but the program is not locating it.

After running: python aws_inventory.py

this error is received

Traceback (most recent call last): File "aws_inventory.py", line 11, in import aws_inventory.invoker File "/Users/edwarddevitt/Desktop/aws-inventory-master/aws_inventory/invoker.py", line 8, in from opinel.utils.credentials import read_creds File "/Library/Python/2.7/site-packages/opinel/utils/credentials.py", line 11, in import requests # TODO: get rid of that and make sure urllib2 validates certs ? ImportError: No module named requests

The strange part is that I have already installed requests.

bitsandsalsa commented 5 years ago

How did you install the requirements for this tool? The recommended way as shown in the README is pip install -r requirements.txt. That should install all dependencies.

You can quickly test if the requests package is installed with something like: python -c import requests. If there is no exception, then it is installed.

ncc-erik-steringer commented 4 years ago

Hi there. Did the suggestion from @bitsandsalsa resolve this issue? Please let me know.