我的电脑操作系统是windows,我下载了这个url https://cmake.org/download/上的cmake,然后我在我的桌面上为我的项目创建了一个文件夹。我的文件夹名称是"first-face-recognition“。然后我在这个网站上安装OpenBLAS之后https://sourceforge.net/projects/openblas/files/,然后我复制opeblas的文件夹到我的项目文件夹中。
我在cmd上运行这个代码;
cd /Desktop/first-face-recognition
npm install face-recognition我得到了这个错误;
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! dlib-build@0.1.1 install: `node ./install.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the dlib-build@0.1.1 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\homiko\AppData\Roaming\npm-cache\_logs\2018-11-23T19_37_56_235Z-debug.log有人能帮帮我吗?
发布于 2019-09-24 05:43:20
我遇到了完全相同的错误,问题是我没有安装cmake。所以,在Ubuntu中
sudo apt update
sudo apt install cmake完成了任务。请注意,installation error没有提到任何关于cmake的内容。希望能有所帮助。
https://stackoverflow.com/questions/53452228
复制相似问题