Skip to content

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