pinokiod 2.1.43 → 2.1.45
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/package.json
CHANGED
package/server/index.js
CHANGED
|
@@ -1547,6 +1547,7 @@ class Server {
|
|
|
1547
1547
|
return relevant.platform && relevant.arch && relevant.gpu
|
|
1548
1548
|
}
|
|
1549
1549
|
async _installed(name, type) {
|
|
1550
|
+
console.log("check _installed", { name, type })
|
|
1550
1551
|
if (type === "conda") {
|
|
1551
1552
|
return this.kernel.bin.installed.conda.has(name)
|
|
1552
1553
|
} else if (type === "pip") {
|
|
@@ -1556,6 +1557,7 @@ class Server {
|
|
|
1556
1557
|
} else {
|
|
1557
1558
|
// check kernel/bin/<module>.installed()
|
|
1558
1559
|
let filepath = path.resolve(__dirname, "..", "kernel", "bin", name + ".js")
|
|
1560
|
+
console.log("mod", this.kernel.bin.mod)
|
|
1559
1561
|
let mod = this.kernel.bin.mod[name]
|
|
1560
1562
|
let installed = false
|
|
1561
1563
|
if (mod.installed) {
|