当我尝试使用 tensorflow 的某些功能时,它稍后会给出错误,并且在@tensorflow insatlled 文件夹中找不到“tfjs_binding.node”。
我已经安装了 python 2.7,因为它必须在张量流之前作为要求安装..并通过“python -v”检查其有效性
所以下面是当我尝试安装@tensorflow/tfjs-node ..帮我清理事情请...
D:\FYP stuff\servermaking\f_I_upoadt2>npm install @tensorflow/tfjs-node
> @tensorflow/tfjs-node@1.2.11 install D:\FYP stuff\servermaking\f_I_upoadt2\node_modules\@tensorflow\tfjs-node
> node scripts/install.js
CPU-windows-1.2.11.zip
* Downloading libtensorflow
[==============================] 310671/bps 100% 0.0s
[==============================] 355964/bps 100% 0.0s
* Building TensorFlow Node.js bindings
node-pre-gyp install failed with error: Error: Command failed: node-pre-gyp install --fallback-to-build
node-pre-gyp WARN Using needle for node-pre-gyp https download
node-pre-gyp WARN Tried to download(404): https://storage.googleapis.com/tf-builds/pre-built-binary/napi-v3/1.2.11/CPU-windows-1.2.11.zip
node-pre-gyp WARN Pre-built binaries not found for @tensorflow/tfjs-node@1.2.11 and node@10.15.0 (node-v64 ABI, unknown) (falling back to source compile with node-gyp)
gyp ERR! build error
gyp ERR! stack Error: `C:\Program Files (x86)\MSBuild\12.0\bin\msbuild.exe` failed with exit code: 1
gyp ERR! stack at ChildProcess.onExit (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\build.js:262:23)
gyp ERR! stack at ChildProcess.emit (events.js:182:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:240:12)
gyp ERR! System Windows_NT 10.0.17763
Helenr
元芳怎么了
相关分类