Open mert-kurttutan opened 1 month ago
One of machines had python binary named python (instead of python3). I looked into source code and discovered CARGO_ZIGBUILD_PYTHON_PATH, then used it, cargo zigbuild worked properly.
CARGO_ZIGBUILD_PYTHON_PATH
Also, the error due to not-finding python is reported as
Error: Failed to find zig Caused by: cannot find binary path
Two suggestions:
I am willing to make PR, if necessary.
One of machines had python binary named python (instead of python3). I looked into source code and discovered
CARGO_ZIGBUILD_PYTHON_PATH
, then used it, cargo zigbuild worked properly.Also, the error due to not-finding python is reported as
Two suggestions:
CARGO_ZIGBUILD_PYTHON_PATH
(I was not able to find docs about this)