title: Can't find Python executable "python"
body: <p>When i install <code>iconv</code> with <code>npm</code> got the following error:</p>
  
  <blockquote>
    <p>iconv@2.1.0 install /root/Dropbox/nodeApps/nodeApp/node_modules/iconv
    node-gyp rebuild</p>
  </blockquote>
  
  <pre><code>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 (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:103:14)
  gyp ERR! stack     at /usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:42:11
  gyp ERR! stack     at F (/usr/local/lib/node_modules/npm/node_modules/which/which.js:43:25)
  gyp ERR! stack     at E (/usr/local/lib/node_modules/npm/node_modules/which/which.js:46:29)
  gyp ERR! stack     at /usr/local/lib/node_modules/npm/node_modules/which/which.js:57:16
  gyp ERR! stack     at Object.oncomplete (fs.js:107:15)
  gyp ERR! System Linux 3.8.0-19-generic
  gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
  gyp ERR! cwd /root/Dropbox/nodeApps/nodeApp/node_modules/iconv
  gyp ERR! node -v v0.10.28
  gyp ERR! node-gyp -v v0.13.0
  gyp ERR! not ok 
  
  npm ERR! iconv@2.1.0 install: `node-gyp rebuild`
  npm ERR! Exit status 1
  npm ERR! 
  npm ERR! Failed at the iconv@2.1.0 install script.
  npm ERR! This is most likely a problem with the iconv package,
  npm ERR! not with npm itself.
  npm ERR! Tell the author that this fails on your system:
  npm ERR!     node-gyp rebuild
  npm ERR! You can get their info via:
  npm ERR!     npm owner ls iconv
  npm ERR! There is likely additional logging output above.
  npm ERR! System Linux 3.8.0-19-generic
  npm ERR! command "node" "/usr/local/bin/npm" "i"
  npm ERR! cwd /root/Dropbox/nodeApps/nodeApp
  npm ERR! node -v v0.10.28
  npm ERR! npm -v 1.4.10
  npm ERR! code ELIFECYCLE
  npm ERR! 
  npm ERR! Additional logging details can be found in:
  npm ERR!     /root/Dropbox/nodeApps/nodeApp/npm-debug.log
  npm ERR! not ok code 0
  </code></pre>
  
  <p>although I installed python and can run it from console:</p>
  
  <pre><code># python
  Python 2.7.3 (default, May  9 2014, 12:18:32) 
  [GCC 4.8.2] on linux2
  </code></pre>
  
  <p>and set up <code>PATH</code> in <code>~/.bashrc</code>:</p>
  
  <pre><code>export PYTHONPATH=$PYTHONPATH:/Python-2.7.3
  export PATH=$PATH:/Python-2.7.3
  </code></pre>
  
  <p>and done <code>. ~/.bashrc</code></p>