【发布时间】:2021-05-29 18:57:03
【问题描述】:
我正在尝试安装 @tensorflow/tfjs-node@3.2.1(最新)。 我已经关注了很多关于此类问题的其他问题,但尚未找到此特定问题的答案。
我已使用请求的构建工具安装了 Visual Studio。
节点 14.15.5
尝试使用和不使用标志。
这是安装命令的输出:
$ npm install @tensorflow/tfjs-node --build-from-source
npm WARN deprecated node-pre-gyp@0.14.0: Please upgrade to @mapbox/node-pre-gyp: the non-scoped node-pre-gyp package is deprecated and only the @mapbox scoped package will recieve updates in the future
> @tensorflow/tfjs-node@3.2.0 install C:\Users\dark_\Desktop\projects\tfjs2\node_modules\@tensorflow\tfjs-node
> node scripts/install.js
CPU-windows-3.2.0.zip
* Downloading libtensorflow
* Building TensorFlow Node.js bindings
symlink ./lib/napi-v7 failed: null
npm WARN tfjs2@1.0.0 No description
npm WARN tfjs2@1.0.0 No repository field.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @tensorflow/tfjs-node@3.2.0 install: `node scripts/install.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @tensorflow/tfjs-node@3.2.0 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\dark_\AppData\Roaming\npm-cache\_logs\2021-02-27T18_14_41_492Z-debug.log
【问题讨论】:
-
我遇到了完全相同的问题,您找到解决方法了吗?
-
@FawazAhmed 不,但我也在这里发布了一个问题:github.com/tensorflow/tfjs/issues/4761 希望我能在那里得到帮助。
标签: tensorflow.js