我想安装opencv以使用smartcrop。 我收到了opencv版本2.4.9。 节点版本6.10.2 我使用的是npm版本3.10.10。 我收到一条很长的错误消息。它无法安装。
> opencv@6.0.0 install C:\Users\Admin\node_modules\opencv
> node-pre-gyp install --fallback-to-build
node-pre-gyp ERR! Tried to download(403): https://node-
opencv.s3.amazonaws.com/o
node-pre-gyp ERR! Pre-built binaries not found for opencv@6.0.0 and
node@6.10.2
npm ERR! code ELIFECYCLE
npm ERR! opencv@6.0.0 install: `node-pre-gyp install --fallback-to-build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the opencv@6.0.0 install script 'node-pre-gyp install --
fallb
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the opencv package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-pre-gyp install --fallback-to-build
npm ERR! You can get information on how to open an issue for this project
with:
npm ERR! npm bugs opencv
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls opencv
npm ERR! There is likely additional logging output above.