Skip to content

DetectPipCaller does not detect python executable with version #1191

@isc-tleavitt

Description

@isc-tleavitt

A common Python layout on Linux is e.g.:
/usr/lib64
-rwxr-xr-x 1 root root 7131424 Aug 21 2025 libpython3.12.so.1.0
drwxr-xr-x 34 root root 8192 Mar 20 15:43 python3.12

With PythonRuntimeLibrary set to /usr/lib64/libpython3.12.so.1.0

%IPM.Lifecycle.Base:DetectPipCaller looks for an executable named "python" in the directory of PythonRuntimeLibrary. We should look for the specific version too - e.g. $Piece(PythonRuntimeLibrary,".so.1.0") if not empty.

Without this, it's a requirement to either:
set ^IPM.settings("PipCaller") = "/bin/python3.12"
set ^IPM.settings("UseStandalonePip") = 0

Or install IPM, run:
zpm "config set PipCaller /usr/lib64/python3.12"
zpm "config set UseStandalonePip 0"

Then nuke and reinstall. (Which are both gross options.)

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions