Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error installing gettext-parser #2

Closed
ghost opened this issue Nov 20, 2013 · 1 comment
Closed

Error installing gettext-parser #2

ghost opened this issue Nov 20, 2013 · 1 comment

Comments

@ghost
Copy link

ghost commented Nov 20, 2013

I get this error when installing a grunt plugin that requires gettext-parse:

c:\work\cast-admin\node_modules\po2json\node_modules\gettext-parser\node_modules\iconv>node "C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild
gyp ERR! configure error
gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.
gyp ERR! stack     at failNoPython (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:120:14)
gyp ERR! stack     at C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:83:11
gyp ERR! stack     at Object.oncomplete (fs.js:107:15)
gyp ERR! System Windows_NT 6.1.7601
gyp ERR! command "node" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd c:\work\cast-admin\node_modules\po2json\node_modules\gettext-parser\node_modules\iconv
gyp ERR! node -v v0.10.22
gyp ERR! node-gyp -v v0.11.0
gyp ERR! not ok
npm WARN optional dep failed, continuing iconv@2.0.7

Do I need to have Python installed on my system for this to work correctly? Or is this what you meant when you write:

If you get a bunchload of warnings or (non fatal) errors when installing, it is ok. These are most probably generated by the optional iconv dependency.

Is there anything I can do to fix it?

@andris9
Copy link
Collaborator

andris9 commented Nov 20, 2013

This is a warning generated while trying to install optional iconv dependency. You should still be able to use gettext-parser on Windows, you can ignore this warning.

@andris9 andris9 closed this as completed Nov 20, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant