pinokiod 3.2.203 → 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/shell.js +5 -1
- package/package.json +1 -1
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) {
|