pinokiod 3.2.202 → 3.2.204
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/kernel/bin/conda.js +1 -1
- package/kernel/shell.js +5 -1
- package/package.json +1 -1
package/kernel/bin/conda.js
CHANGED
|
@@ -236,7 +236,7 @@ create_default_packages:
|
|
|
236
236
|
//"conda update -y conda-libmamba-solver",
|
|
237
237
|
"conda update -y conda",// -vvv --debug",
|
|
238
238
|
"conda update -y --all",// -vvv --debug",
|
|
239
|
-
"python -m pip install --upgrade pip setuptools wheel",
|
|
239
|
+
// "python -m pip install --upgrade pip setuptools wheel",
|
|
240
240
|
// "python -m ensurepip --upgrade",
|
|
241
241
|
// "conda update -y conda",
|
|
242
242
|
// "conda update -y --all",
|
package/kernel/shell.js
CHANGED
|
@@ -113,7 +113,7 @@ class Shell {
|
|
|
113
113
|
|
|
114
114
|
this.env.CMAKE_OBJECT_PATH_MAX = 1024
|
|
115
115
|
this.env.PYTORCH_ENABLE_MPS_FALLBACK = 1
|
|
116
|
-
this.env.PIP_REQUIRE_VIRTUALENV = "true"
|
|
116
|
+
// this.env.PIP_REQUIRE_VIRTUALENV = "true"
|
|
117
117
|
// this.env.NPM_CONFIG_USERCONFIG = this.kernel.path("user_npmrc")
|
|
118
118
|
// this.env.NPM_CONFIG_GLOBALCONFIG = this.kernel.path("global_npmrc")
|
|
119
119
|
// this.env.npm_config_userconfig = this.kernel.path("user_npmrc")
|
|
@@ -654,6 +654,10 @@ class Shell {
|
|
|
654
654
|
}
|
|
655
655
|
|
|
656
656
|
|
|
657
|
+
if (conda_name === "base") {
|
|
658
|
+
this.env.PIP_REQUIRE_VIRTUALENV = "true"
|
|
659
|
+
}
|
|
660
|
+
|
|
657
661
|
// 2. venv
|
|
658
662
|
let venv_activation
|
|
659
663
|
if (params.venv) {
|