2017-05-11 9 views
0

自分の環境変数をPYTHON=D:\Program Files\Python36-32\python.exeと設定しましたが、以下のエラーが表示されます。これはnpm install node-gyp --saveを実行している間です。私はそれのための解決策を見つけることができません。私のpythonバージョンはpython-3.5.6です。環境変数を設定してもノードのgypエラーが発生する

gyp ERR! configure error gyp ERR! stack Error: Can't find Python executable "D:\Program Files\Python36-32\python.exe", you can set the PYTHON env variable. 
gyp ERR! stack at PythonFinder.failNoPython (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:454:19) 
gyp ERR! stack at PythonFinder.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:480:16) 
gyp ERR! stack at C:\Program Files\nodejs\node_modules\npm\node_modules\graceful-fs\polyfills.js:284:29 
gyp ERR! stack at FSReqWrap.oncomplete (fs.js:112:15) 
gyp ERR! System Windows_NT 6.1.7601 
gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild" 
gyp ERR! cwd D:\R04_17\FarmersMBaaS\node_modules\timekit gyp ERR! node -v v7.5.0 
gyp ERR! node-gyp -v v3.5.0 
gyp ERR! not ok 

助けていただければ幸いです。このエラーを取り除くための完璧な解決策が必要です。

+0

を私は、Pythonを使用していないも私はすべてこのマシンにインストールされています。私はパッケージを変更していませんが、npmをインストールすると突然このエラーが発生します。 –

+0

このエラーを克服するためのいくつかのトリックを試しましたか? – Owner

答えて

関連する問題