env: python: No such file or directory
发布于 10 年前 作者 feikeq 6678 次浏览 最后一次编辑是 8 年前

%pwd /usr/home/longq/node-v0.10.28 %ls AUTHORS CONTRIBUTING.md LICENSE README.md common.gypi deps lib src tools BSDmakefile ChangeLog Makefile benchmark configure doc node.gyp test vcbuild.bat %./configure env: python: No such file or directory %

为什么执行./configure会报python: No such file or directory? #!/usr/bin/env python 难道我还要装个python才能用nodejs?

4 回复

编译node需要python,你可以直接装二进制发行的node,比如用nvm

编译node为何要Python,难道调用那个万恶的gyp了么:(

请问具体怎么操作?

回到顶部