Closed colttt closed 3 months ago
mkdir zabbix-api
cd zabbix-api
python -m venv venv
source venv/bin/activate
pip install zabbix_utils
Remember you might need to source venv/bin/activate
again
@colttt, thank you for your comment.
According to PEP68 a Python-specific tool like pip should guide the user towards using Python Virtual Environments (venv) instead of installing or uninstalling the package into the interpreter's default installation environment. The main idea behind this is to encourage users to use a venv. You can use the approach suggested by @tuxick to create a venv.
Therefore, the current description in the README file can be considered correct.
If you're sure and intented to install the package to the default/global environment, you can use pipx
instead of pip
, pip3
and so.
@tuxick, thanks for your comment and willingness to help @colttt.
You need to change your configuration, cause a simple installation is not possible on Debian 12 systems: