Prototype-X / Zabbix-Network-Weathermap

Network weathermap for Zabbix
GNU General Public License v3.0
90 stars 38 forks source link

Problem Installation #52

Open mzbahdesign12 opened 2 years ago

mzbahdesign12 commented 2 years ago

Hi, Glad to be one of the part form you project. I wanna tell you that I have some problem when I install that plugin in Zabbix Server version 5.4 and Ubuntu 20.04. The problem already exist when i use command "sudo pip3 install ruamel.yaml==0.14.12" like the log below :

@zabbix:~$ sudo pip3 install ruamel.yaml==0.14.12 sudo: unable to resolve host zabbix: Name or service not known Collecting ruamel.yaml==0.14.12 Downloading ruamel.yaml-0.14.12.tar.gz (242 kB) |████████████████████████████████| 242 kB 3.7 MB/s ERROR: Command errored out with exit status 1: command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-htwmlr_j/ruamel.yaml/setup.py'"'"'; file='"'"'/tmp/pip-install-htwmlr_j/ruamel.yaml/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-install-htwmlr_j/ruamel.yaml/pip-egg-info cwd: /tmp/pip-install-htwmlr_j/ruamel.yaml/ Complete output (11 lines): Traceback (most recent call last): File "", line 1, in File "/tmp/pip-install-htwmlr_j/ruamel.yaml/setup.py", line 171, in pkg_data = _package_data(file.replace('setup.py', 'init.py')) File "/tmp/pip-install-htwmlr_j/ruamel.yaml/setup.py", line 150, in _package_data data = literal_eval(u''.join(lines)) File "/tmp/pip-install-htwmlr_j/ruamel.yaml/setup.py", line 122, in literal_eval return _convert(node_or_string) File "/tmp/pip-install-htwmlr_j/ruamel.yaml/setup.py", line 69, in _convert if isinstance(node, (Str, Bytes)): NameError: name 'Str' is not defined

ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

Could you please help me to solved the problem?

Thank you.