...
Status | ||||
---|---|---|---|---|
|
Panel | ||||||
---|---|---|---|---|---|---|
| ||||||
|
Since Checkmk 2.0, we do provide Python inside the Checkmk Agent (Werk # 10689). If you're using PYTHONHOME or PYTHONPATH, you may run into a similar issue:
...
Some background information:
Tip |
---|
More information can be found here: https://docs.python.org/3/using/windows.html |
...
You're able to run multiple Python Versions on one Windows machine. For that, we see two approaches at the moment.
Call your scripts with the correct Python version e.g.
Code Block language bash theme RDark c:\python\3.8\python.exe c:\python\2.7\python.exe
.
You can create a virtual env for your customized Python version like we do: https://virtualenv.pypa.io/en/latest/
Code Block language bash theme RDark 'C:\ProgramData\checkmk\agent\modules\python-3\.venv\Scripts\python.exe C:\ProgramData\checkmk\agent\plugins\cmk_update_agent.checkmk.py'
...