title: Problems with NPM INSTALL command in Vue project
body: <p>I have a template that I bought but when I install it on my pc it doesn't install the dependencies, I run the NPM INSTALL command, and there comes a minute in which the error occurs and it talks about a python 2.</p>
  <p>In the past, I'm talking about 1 year ago I installed it without problems, but that time I had another version of node because 1 month ago I had to install version 14 of node js because I wanted to work laravel with vue in the same project and it didn't let me work.</p>
  <p>Now that I want to run the project separately and already having the whole document I get the following error.</p>
  <pre><code>λ npm install
  npm ERR! code 1
  npm ERR! path C:\laragon\www\template\node_modules\node-sass
  npm ERR! command failed
  npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c node scripts/build.js
  npm ERR! Building: C:\Program Files\nodejs\node.exe C:\laragon\www\template\node_modules\node-gyp\bin\node-gyp.js rebuild --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library=
  npm ERR! gyp info it worked if it ends with ok
  npm ERR! gyp verb cli [
  npm ERR! gyp verb cli   'C:\\Program Files\\nodejs\\node.exe',
  npm ERR! gyp verb cli   'C:\\laragon\\www\\template\\node_modules\\node-gyp\\bin\\node-gyp.js',
  npm ERR! gyp verb cli   'rebuild',
  npm ERR! gyp verb cli   '--verbose',
  npm ERR! gyp verb cli   '--libsass_ext=',
  npm ERR! gyp verb cli   '--libsass_cflags=',
  npm ERR! gyp verb cli   '--libsass_ldflags=',
  npm ERR! gyp verb cli   '--libsass_library='
  npm ERR! gyp verb cli ]
  npm ERR! gyp info using node-gyp@3.8.0
  npm ERR! gyp info using node@14.16.1 | win32 | x64
  npm ERR! gyp verb command rebuild []
  npm ERR! gyp verb command clean []
  npm ERR! gyp verb clean removing &quot;build&quot; directory
  npm ERR! gyp verb command configure []
  npm ERR! gyp verb check python checking for Python executable &quot;python2&quot; in the PATH
  npm ERR! gyp verb `which` failed Error: not found: python2
  npm ERR! gyp verb `which` failed     at getNotFoundError (C:\laragon\www\template\node_modules\which\which.js:13:12)
  npm ERR! gyp verb `which` failed     at F (C:\laragon\www\template\node_modules\which\which.js:68:19)
  npm ERR! gyp verb `which` failed     at E (C:\laragon\www\template\node_modules\which\which.js:80:29)
  npm ERR! gyp verb `which` failed     at C:\laragon\www\template\node_modules\which\which.js:89:16
  npm ERR! gyp verb `which` failed     at C:\laragon\www\template\node_modules\isexe\index.js:42:5
  npm ERR! gyp verb `which` failed     at C:\laragon\www\template\node_modules\isexe\windows.js:36:5
  npm ERR! gyp verb `which` failed     at FSReqCallback.oncomplete (fs.js:183:21)
  npm ERR! gyp verb `which` failed  python2 Error: not found: python2
  npm ERR! gyp verb `which` failed     at getNotFoundError (C:\laragon\www\template\node_modules\which\which.js:13:12)
  npm ERR! gyp verb `which` failed     at F (C:\laragon\www\template\node_modules\which\which.js:68:19)
  npm ERR! gyp verb `which` failed     at E (C:\laragon\www\template\node_modules\which\which.js:80:29)
  npm ERR! gyp verb `which` failed     at C:\laragon\www\template\node_modules\which\which.js:89:16
  npm ERR! gyp verb `which` failed     at C:\laragon\www\template\node_modules\isexe\index.js:42:5
  npm ERR! gyp verb `which` failed     at C:\laragon\www\template\node_modules\isexe\windows.js:36:5
  npm ERR! gyp verb `which` failed     at FSReqCallback.oncomplete (fs.js:183:21) {
  npm ERR! gyp verb `which` failed   code: 'ENOENT'
  npm ERR! gyp verb `which` failed }
  npm ERR! gyp verb check python checking for Python executable &quot;python&quot; in the PATH
  npm ERR! gyp verb `which` succeeded python C:\Python39\python.EXE
  npm ERR! gyp ERR! configure error
  npm ERR! gyp ERR! stack Error: Command failed: C:\Python39\python.EXE -c import sys; print &quot;%s.%s.%s&quot; % sys.version_info[:3];
  npm ERR! gyp ERR! stack   File &quot;&lt;string&gt;&quot;, line 1
  npm ERR! gyp ERR! stack     import sys; print &quot;%s.%s.%s&quot; % sys.version_info[:3];
  npm ERR! gyp ERR! stack                       ^
  npm ERR! gyp ERR! stack SyntaxError: invalid syntax
  npm ERR! gyp ERR! stack
  npm ERR! gyp ERR! stack     at ChildProcess.exithandler (child_process.js:308:12)
  npm ERR! gyp ERR! stack     at ChildProcess.emit (events.js:315:20)
  npm ERR! gyp ERR! stack     at maybeClose (internal/child_process.js:1048:16)
  npm ERR! gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:288:5)
  npm ERR! gyp ERR! System Windows_NT 10.0.19043
  npm ERR! gyp ERR! command &quot;C:\\Program Files\\nodejs\\node.exe&quot; &quot;C:\\laragon\\www\\template\\node_modules\\node-gyp\\bin\\node-gyp.js&quot; &quot;rebuild&quot; &quot;--verbose&quot; &quot;--libsass_ext=&quot; &quot;--libsass_cflags=&quot; &quot;--libsass_ldflags=&quot; &quot;--libsass_library=&quot;
  npm ERR! gyp ERR! cwd C:\laragon\www\template\node_modules\node-sass
  npm ERR! gyp ERR! node -v v14.16.1
  npm ERR! gyp ERR! node-gyp -v v3.8.0
  npm ERR! gyp ERR! not ok
  npm ERR! Build failed with error code: 1
  
  npm ERR! A complete log of this run can be found in:
  npm ERR!     C:\Users\alex_\AppData\Local\npm-cache\_logs\2021-06-26T05_21_01_578Z-debug.log
  </code></pre>
  <p>I was investigating and some people told me to run these commands in administrator mode:</p>
  <p>Download any version of python from the Microsoft store and execute these commands:</p>
  <pre><code>npm install --global windows-build-tools
  node-gyp install
  </code></pre>
  <p>The version of Nodejs I have is v14.16.1</p>