/usr/bin/sudo /etc/zabbix/docker_stats.py
Traceback (most recent call last):
File "/etc/zabbix/docker_stats.py", line 4, in
from docker_service import DockerService
ImportError: No module named docker_service
Traceback (most recent call last):
File "/etc/zabbix/docker_stats.py", line 4, in
from docker_service import DockerService
File "/etc/zabbix/docker_service/DockerService.py", line 5, in
from docker import Client
File "/usr/lib/python2.7/site-packages/docker/init.py", line 6, in
from .client import Client, AutoVersionClient, from_env # flake8: noqa
File "/usr/lib/python2.7/site-packages/docker/client.py", line 5, in
import requests
File "/usr/lib/python2.7/site-packages/requests/init.py", line 58, in
from . import utils
File "/usr/lib/python2.7/site-packages/requests/utils.py", line 32, in
from .exceptions import InvalidURL
File "/usr/lib/python2.7/site-packages/requests/exceptions.py", line 10, in
from .packages.urllib3.exceptions import HTTPError as BaseHTTPError
File "/usr/lib/python2.7/site-packages/requests/packages/init.py", line 95, in load_module
raise ImportError("No module named '%s'" % (name,))
ImportError: No module named 'requests.packages.urllib3'
Hi,
I am getting the following error message
/usr/bin/sudo /etc/zabbix/docker_stats.py Traceback (most recent call last): File "/etc/zabbix/docker_stats.py", line 4, in
from docker_service import DockerService
ImportError: No module named docker_service
Please help Ferdous Shibly