From f93727151f3abd39e5a493ff6e9fdc3354e8959e Mon Sep 17 00:00:00 2001 From: Yorkie Liu Date: Sat, 10 Oct 2020 23:09:21 +0800 Subject: [PATCH] boa: don't set PYTHONHOME --- packages/boa/lib/factory.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/packages/boa/lib/factory.js b/packages/boa/lib/factory.js index fe75f526d..8927dd3a8 100644 --- a/packages/boa/lib/factory.js +++ b/packages/boa/lib/factory.js @@ -7,9 +7,6 @@ const { Python } = require('bindings')('boa'); // read the conda path from the .CONDA_INSTALL_DIR // eslint-disable-next-line no-sync const condaPath = fs.readFileSync(path.join(__dirname, '../.CONDA_INSTALL_DIR'), 'utf8'); -if (!process.env.PYTHONHOME) { - process.env.PYTHONHOME = condaPath; -} // create the global-scoped instance let pyInst = global.__pipcook_boa_pyinst__;