Comments (8)
Could you please retry it use a lower version node? Such v10 or v12 LTS version.
from pipcook.
It seems that you got a networking error when gyp downloading Node.js headers:
gyp WARN install got an error, rolling back install
gyp ERR! configure error
gyp ERR! stack Error: getaddrinfo EAI_AGAIN nodejs.org
gyp ERR! stack at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:66:26)
gyp ERR! System Linux 5.6.5-arch3-1
Could you please try again later?
from pipcook.
I try it again with node 12.16.2 and npm 6.14.4, but the error still happen:
~/CODE/pipcook-example » ls -a han@archlinux
. ..
-----------------------------------------------------------------------------
~/CODE/pipcook-example » pipcook init han@archlinux
⠋ installing pipcook[..................] / rollbackFailedOptional: verb npm-s
> @pipcook/[email protected] install /home/han/CODE/pipcook-example/node_modules/@pipcook/boa
> node-gyp rebuild
make: Entering directory '/home/han/CODE/pipcook-example/node_modules/@pipcook/boa/build'
CXX(target) Release/obj.target/boa/src/binding.o
In file included from ../src/core/module.h:3,
from ../src/binding.cc:1:
../src/core/common.h:4:10: fatal error: Python.h: No such file or directory
4 | #include <Python.h>
| ^~~~~~~~~~
compilation terminated.
make: *** [boa.target.mk:119: Release/obj.target/boa/src/binding.o] Error 1
make: Leaving directory '/home/han/CODE/pipcook-example/node_modules/@pipcook/boa/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/home/han/.nvm/versions/node/v12.16.2/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack at ChildProcess.emit (events.js:310:20)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
gyp ERR! System Linux 5.6.5-arch3-1
gyp ERR! command "/home/han/.nvm/versions/node/v12.16.2/bin/node" "/home/han/.nvm/versions/node/v12.16.2/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/han/CODE/pipcook-example/node_modules/@pipcook/boa
gyp ERR! node -v v12.16.2
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok
npm WARN [email protected] No description
npm WARN [email protected] No repository field.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @pipcook/[email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @pipcook/[email protected] 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! /home/han/.npm/_logs/2020-04-21T16_26_02_373Z-debug.log
✖ install Error: Command failed: npm install @pipcook/boa --save error
and there is the part of log:
190 http fetch POST 200 https://registry.npmjs.org/-/npm/v1/security/audits/quick 385ms
191 timing audit body Completed in 1ms
192 silly lifecycle @pipcook/[email protected]~install: Returned: code: 1 signal: null
193 info lifecycle @pipcook/[email protected]~install: Failed to exec install script
194 timing action:install Completed in 556ms
195 verbose unlock done using /home/han/.npm/_locks/staging-88df14f35db6261b.lock for /home/han/CODE/pipcook-example/node_modules/.staging
196 timing stage:rollbackFailedOptional Completed in 113ms
197 timing stage:runTopLevelLifecycles Completed in 2869ms
198 silly saveTree [email protected]
198 silly saveTree `-- @pipcook/[email protected]
198 silly saveTree +-- [email protected]
198 silly saveTree | `-- [email protected]
198 silly saveTree +-- [email protected]
198 silly saveTree | `-- [email protected]
198 silly saveTree `-- [email protected]
199 warn [email protected] No description
200 warn [email protected] No repository field.
201 verbose stack Error: @pipcook/[email protected] install: `node-gyp rebuild`
201 verbose stack Exit status 1
201 verbose stack at EventEmitter.<anonymous> (/home/han/.nvm/versions/node/v12.16.2/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:332:16)
201 verbose stack at EventEmitter.emit (events.js:310:20)
201 verbose stack at ChildProcess.<anonymous> (/home/han/.nvm/versions/node/v12.16.2/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
201 verbose stack at ChildProcess.emit (events.js:310:20)
201 verbose stack at maybeClose (internal/child_process.js:1021:16)
201 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5)
202 verbose pkgid @pipcook/[email protected]
203 verbose cwd /home/han/CODE/pipcook-example
204 verbose Linux 5.6.5-arch3-1
205 verbose argv "/home/han/.nvm/versions/node/v12.16.2/bin/node" "/home/han/.nvm/versions/node/v12.16.2/bin/npm" "install" "@pipcook/boa" "--save"
206 verbose node v12.16.2
207 verbose npm v6.14.4
208 error code ELIFECYCLE
209 error errno 1
210 error @pipcook/[email protected] install: `node-gyp rebuild`
210 error Exit status 1
211 error Failed at the @pipcook/[email protected] install script.
211 error This is probably not a problem with npm. There is likely additional logging output above.
212 verbose exit [ 1, true ]
and then I use proxychains
to try proxy it. but it is still failed.
from pipcook.
@hanhan9449 Do you use mac and homebrew installed?
from pipcook.
from pipcook.
Our latest released version don't support Linux because of Boa, but our master has supported that, may I ask you to follow the instructions: https://github.com/alibaba/pipcook#developers, thank you @hanhan9449.
from pipcook.
@hanhan9449 We have released the version in which boa will support linux. Please try to update the @pipcook/pipcook-cli to latest version and try pipcook init again :)
from pipcook.
Closing this because of inactivity, feel free to reopen it if something still not working.
from pipcook.
Related Issues (20)
- data in doc can not download HOT 1
- support deno HOT 1
- npm run 运行失败 HOT 1
- 目前pipline中目标检测模型脚本中 不支持传入预训练模型做参数
- 按照官方文档执行报错403 HOT 9
- 群二维码过期了 HOT 1
- The specified module could not be found HOT 1
- run pipeline error: Forbidden HOT 12
- 求一种可以离线运行脚本的方式 HOT 1
- i use object-detection on colab, when i predict, Origin result:[[]]
- boa init error HOT 1
- boa init error in centos8 HOT 1
- FaaS平台下执行boa失败 HOT 2
- Error: Boa install fails when npm installing in a folder name that contains a space HOT 4
- 数据集无法下载 HOT 1
- 我安装完之后没有什么反应,运行命令也没 HOT 1
- run pipeline error: Forbidden
- run pipeline error: Forbidden sudo pipcook train http://172.22.133.15:8000/image-classification-mobilenet.json
- 安装成功之后不管任何运行命令(比如 pipcook --help)都会打开 nodeJs 下的 pipcook.js 文件,然后程序就停止运行了
- 安装完成后无任何反应
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pipcook.