Answer the question
In order to leave comments, you need to log in
Zabbix - python script does not see modules, what's wrong?
You need to configure zabbix in telegram script, Ubuntu 16.04 OS, zabbix-server 3.4. From the console it works fine, delivers messages from the bot.
But if the message is sent from zabbix, then I get a send error:
" ImportError: No module named requests"
Updated the packages in the OS, updated pip and did pip install requests, pip3 install requests, but the package was already installed. Just in case after rebooted the server, but the result is the same, the error remains.
I'm not very versed in python, tell me what I did wrong in this case and where exactly should I install the requests module?
Answer the question
In order to leave comments, you need to log in
pip install requests
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question