Closed Liam-Sturge closed 1 year ago
CI failures look unrelated to this PR, a bunch of cancellations from GitHub (looks like the runner ran out of space?): https://github.com/tlc-pack/tlcpack/actions/runs/3411250284
The CI failures are unrelated to this PR, so I'm merging it to unblock builds using the cpu_aarch64
image.
When running tlcpack on build environments that do not have Conda installed, the script is failing due to the method used to locate the Python version.
5382fa075932676938728a241e21bfcb8e714ea1 changed the way in which the Python version is located, now hard-coding a path that only exists in environments where Conda has been installed.
I have added a check to fall back to the previous method of locating the Python version on environments where Conda is not installed.
CC @leandron @driazati @areusch @Mousius for review