Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ModuleNotFoundError: No module named 'zabbix_cli.config' #161

Open
veerasekar26 opened this issue Apr 19, 2023 · 0 comments
Open

ModuleNotFoundError: No module named 'zabbix_cli.config' #161

veerasekar26 opened this issue Apr 19, 2023 · 0 comments

Comments

@veerasekar26
Copy link

Hello Team, I'm getting the below error while upgrading the zabbix-cli 2.3.1. So, please suggest for the solution.

sudo /errbot/venv/bin/pip install git+https://github.com/unioslo/zabbix-cli.git@master
Collecting git+https://github.com/unioslo/zabbix-cli.git@master
Cloning https://github.com/unioslo/zabbix-cli.git (to revision master) to /tmp/pip-req-build-fm275v5w
Running command git clone --quiet https://github.com/unioslo/zabbix-cli.git /tmp/pip-req-build-fm275v5w
Resolved https://github.com/unioslo/zabbix-cli.git to commit b34c9b1
Preparing metadata (setup.py) ... done
Requirement already satisfied: requests in ./errbot/venv/lib/python3.9/site-packages (from zabbix-cli==2.3.1) (2.27.1)
Requirement already satisfied: idna<4,>=2.5 in ./errbot/venv/lib/python3.9/site-packages (from requests->zabbix-cli==2.3.1) (3.4)
Requirement already satisfied: certifi>=2017.4.17 in ./errbot/venv/lib/python3.9/site-packages (from requests->zabbix-cli==2.3.1) (2022.9.24)
Requirement already satisfied: charset-normalizer
=2.0.0 in ./errbot/venv/lib/python3.9/site-packages (from requests->zabbix-cli==2.3.1) (2.0.12)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in ./errbot/venv/lib/python3.9/site-packages (from requests->zabbix-cli==2.3.1) (1.26.12)
Installing collected packages: zabbix-cli
DEPRECATION: zabbix-cli is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at pypa/pip#8559
Running setup.py install for zabbix-cli ... done
Successfully installed zabbix-cli-2.3.1

~/errbot/venv/bin/zabbix-cli --version -c zabbix-cli.conf
Traceback (most recent call last):
File "/home/centos/errbot/venv/bin/zabbix-cli", line 30, in
from zabbix_cli.config import get_config, validate_config
ModuleNotFoundError: No module named 'zabbix_cli.config'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant