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.
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?
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.