pinokiod 3.2.194 → 3.2.196

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/index.js CHANGED
@@ -359,19 +359,19 @@ class Kernel {
359
359
  envs: this.envs
360
360
  })
361
361
  }
362
- console.log({ grant_permission })
363
- if (grant_permission) {
364
- if (this.platform === "win32") {
365
- console.log("2 Give full permission")
366
- await this.bin.exec({
367
- sudo: true,
368
- message: `icacls ${this.homedir} /grant Users:(OI)(CI)F /T`
369
- }, (stream) => {
370
- ondata(stream)
371
- })
372
- console.log("2 Give full permission done")
373
- }
374
- }
362
+ // console.log({ grant_permission })
363
+ // if (grant_permission) {
364
+ // if (this.platform === "win32") {
365
+ // console.log("2 Give full permission")
366
+ // await this.bin.exec({
367
+ // sudo: true,
368
+ // message: `icacls ${this.homedir} /grant Users:(OI)(CI)F /T`
369
+ // }, (stream) => {
370
+ // ondata(stream)
371
+ // })
372
+ // console.log("2 Give full permission done")
373
+ // }
374
+ // }
375
375
  })
376
376
  }
377
377
  })
package/kernel/shell.js CHANGED
@@ -113,6 +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
117
  // this.env.NPM_CONFIG_USERCONFIG = this.kernel.path("user_npmrc")
117
118
  // this.env.NPM_CONFIG_GLOBALCONFIG = this.kernel.path("global_npmrc")
118
119
  // this.env.npm_config_userconfig = this.kernel.path("user_npmrc")
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pinokiod",
3
- "version": "3.2.194",
3
+ "version": "3.2.196",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/server/index.js CHANGED
@@ -2142,17 +2142,17 @@ class Server {
2142
2142
  // update the py module if it's already installed
2143
2143
  console.log("not up to date")
2144
2144
 
2145
- // give full permission to pinokio folder on windows
2146
- if (this.kernel.platform === "win32") {
2147
- console.log("1 Give full permission")
2148
- await this.kernel.bin.exec({
2149
- sudo: true,
2150
- message: `icacls ${this.kernel.homedir} /grant Users:(OI)(CI)F /T`
2151
- }, (stream) => {
2152
- console.log({ stream })
2153
- })
2154
- console.log("1 Give full permission done")
2155
- }
2145
+ // // give full permission to pinokio folder on windows
2146
+ // if (this.kernel.platform === "win32") {
2147
+ // console.log("1 Give full permission")
2148
+ // await this.kernel.bin.exec({
2149
+ // sudo: true,
2150
+ // message: `icacls ${this.kernel.homedir} /grant Users:(OI)(CI)F /T`
2151
+ // }, (stream) => {
2152
+ // console.log({ stream })
2153
+ // })
2154
+ // console.log("1 Give full permission done")
2155
+ // }
2156
2156
 
2157
2157
 
2158
2158
  await new Promise((resolve, reject) => {