Skip to content

Problem Installation #52

@mzbahdesign12

Description

@mzbahdesign12

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions