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 #9183

Closed
bensandra opened this issue Sep 8, 2017 · 3 comments
Closed

error #9183

bensandra opened this issue Sep 8, 2017 · 3 comments
Labels
ThirdParty upstream problems

Comments

@bensandra
Copy link

C:\Users\sandra\AppData\Roaming\npm\node_modules\appium\node_modules\heapdump>if
not defined npm_config_node_gyp (node "C:\Program Files\Nodejs\node_modules\npm
\bin\node-gyp-bin\....\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else
(node "" rebuild )
gyp ERR! configure error
gyp ERR! stack Error: Can't find Python executable "python", you can set the PYT
HON env variable.
gyp ERR! stack at failNoPython (C:\Program Files\Nodejs\node_modules\npm\nod
e_modules\node-gyp\lib\configure.js:449:14)
gyp ERR! stack at C:\Program Files\Nodejs\node_modules\npm\node_modules\node
-gyp\lib\configure.js:404:11
gyp ERR! stack at C:\Program Files\Nodejs\node_modules\npm\node_modules\grac
eful-fs\polyfills.js:264:29
gyp ERR! stack at FSReqWrap.oncomplete (fs.js:123:15)
gyp ERR! System Windows_NT 6.1.7601
gyp ERR! command "C:\Program Files\Nodejs\node.exe" "C:\Program Files\Nodej
s\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Users\sandra\AppData\Roaming\npm\node_modules\appium\node_module
s\heapdump
gyp ERR! node -v v6.11.3
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok
C:\Users\sandra\AppData\Roaming\npm
`-- appium@1.6.5

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.x (node_modules\appiu
m\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@
1.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"ia32"
})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: heapdump@0.3.9 (node_modules\app
ium\node_modules\heapdump):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: heapdump@0.3.9 install: node-gy p rebuild
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1

@mykola-mokhnach
Copy link
Collaborator

I assume the error there is pretty clear:

gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.

Python should be installed and the PYTHON environment variable should be set.

@mykola-mokhnach mykola-mokhnach added the ThirdParty upstream problems label Sep 8, 2017
@hemano
Copy link

hemano commented Oct 12, 2017

This is not merely going to go away by setting the path.

before running npm install -g appium you need to run below command:

npm --add-python-to-path='true' --debug install --global windows-build-tool

felixrieseberg/windows-build-tools#56

@lock
Copy link

lock bot commented Apr 25, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked and limited conversation to collaborators Apr 25, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
ThirdParty upstream problems
Projects
None yet
Development

No branches or pull requests

3 participants