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

Issue with Dependency #25

Open
deveddev opened this issue Sep 6, 2019 · 2 comments
Open

Issue with Dependency #25

deveddev opened this issue Sep 6, 2019 · 2 comments

Comments

@deveddev
Copy link

deveddev commented Sep 6, 2019

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
Copy link
Collaborator

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
Copy link
Collaborator

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

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

No branches or pull requests

3 participants