fix: add default python installation path

This commit is contained in:
Amin Yahyaabadi 2022-02-04 14:32:27 -08:00
parent 7523d162da
commit b2741d0ee5
3 changed files with 3 additions and 3 deletions

2
dist/setup_cpp.js vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -31,7 +31,7 @@ export async function setupPipPack(name: string, version?: string) {
// test if pip executable is working // test if pip executable is working
await execa(pip, ["--version"], { stdio: "inherit" }) await execa(pip, ["--version"], { stdio: "inherit" })
} catch (err) { } catch (err) {
await setupPython(getVersion("python", undefined), "", process.arch) await setupPython(getVersion("python", undefined), "~/python", process.arch)
pip = "pip3" pip = "pip3"
} }
} }