hmenyus / node-calls-python

Call Python from NodeJS directly in-process without spawning processes
MIT License
252 stars 26 forks source link

Library not loaded: @rpath/libpython3.10.dylib #57

Closed cdoky closed 1 year ago

cdoky commented 1 year ago
Error: dlopen(/Project/node_modules/node-calls-python/build/Release/nodecallspython.node, 1): Library not loaded: @rpath/libpython3.10.dylib
  Referenced from: /Project/node_modules/node-calls-python/build/Release/nodecallspython.node
  Reason: image not found
    at Object.Module._extensions..node (node:internal/modules/cjs/loader:1319:18)
    at Module.load (node:internal/modules/cjs/loader:1091:32)
    at Function.Module._load (node:internal/modules/cjs/loader:938:12)
    at Module.require (node:internal/modules/cjs/loader:1115:19)
    at require (node:internal/modules/helpers:130:18)
    at Object.<anonymous> (/Project/node_modules/node-calls-python/index.js:4:25)
    at Module._compile (node:internal/modules/cjs/loader:1233:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1287:10)
    at Object.require.extensions.<computed> [as .js] (/Project/node_modules/ts-node/src/index.ts:1608:43)
    at Module.load (node:internal/modules/cjs/loader:1091:32) {
  code: 'ERR_DLOPEN_FAILED'
}