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

Update requirements.txt #345

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

solipsist01
Copy link

When i build the docker image from the dockerfile from pyorde/vmware_exporter, and use the image, the container crashes out with this error.

ModuleNotFoundError: No module named 'requests'
Traceback (most recent call last):
File "/usr/local/bin/vmware_exporter", line 5, in
from vmware_exporter.vmware_exporter import main
File "/usr/local/lib/python3.7/site-packages/vmware_exporter/vmware_exporter.py", line 21, in
import requests

i've forked the project, and added requests in requirements.txt
now when building the image from the fork, the problem is solved.

@fschlich
Copy link

same issue here, not sure how requests was pulled in earlier but since it's clearly used in vmware_exporter/vmware_exporter.py it should be in requirements.txt, no?

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 this pull request may close these issues.

2 participants