pryorda / vmware_exporter

VMWare vCenter Exporter for Prometheus
BSD 3-Clause "New" or "Revised" License
527 stars 200 forks source link

Update requirements.txt #345

Open solipsist01 opened 1 year ago

solipsist01 commented 1 year ago

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 commented 1 year ago

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?