Skip to end of metadata
Go to start of metadata
Titlepip3 command
Checkmk EditionCheckmk Raw Edition (CRE)
Checkmk Version2.3.0b1
LevelTrivial Change
ClassBug Fix
CompatibilityCompatible - no manual interaction needed

This regression exists since 2.1.0p19 and broke the pip3 command due to a wrong shebang.
OMD[stable_p20]:~$ pip3
bash: /omd/sites/stable_p20/bin/pip3: /bin/python: bad interpreter: No such file or directory

As of Werk 14792, a workaround was to use pip as a module.
Please note that you would need to specify the installation target if you want the mkp tool to find your local packages:
OMD[stable_p21]:~$ python3 -m pip install --target local/lib/python3/ cx_Oracle
Collecting cx_Oracle
Installing collected packages: cx_Oracle
Successfully installed cx_Oracle-8.3.0

With this werk, pip3 can be used again which automatically sets the installation target to the correct folder.

  • No labels