windows-build-tools
windows-build-tools copied to clipboard
Python Not Installing (No installer log)
I left this on overnight to install (after struggling to get it to work previously), and even after running for 7 hours, Python still hasn't installed and there's still no installer log file being generated at all. It seems to me as if the Python installer isn't even being executed.
I've been trying to install this as I need it for stuff to do with my Discord bot I'm programming. Any help towards this issue would be greatly appreciated.
Kind regards, Bailfire.
I am also running into this issue with this TeamCity with a Windows agent. This process ran for 4.5 hours before I killed it.
[12:39:14]The build is removed from the queue to be prepared for the start
[12:39:14]Collecting changes in 1 VCS root
[12:39:15]Starting the build on the agent desktop-b16p6pv
[12:39:16]Clearing temporary directory: C:\BuildAgent\temp\buildTmp
[12:39:16]Publishing internal artifacts
[12:39:16]Using vcs information from agent file: 7eb4cf378c8664af.xml
[12:39:16]Checkout directory: C:\BuildAgent\work\7eb4cf378c8664af
[12:39:16]Updating sources: auto checkout (on agent) (1s)
[12:39:17]Step 1/2: Node.js NPM (4h:18m:03s)
[12:39:17][Step 1/2] Executing npm via wrapping shell script
[12:39:17][Step 1/2] Starting: cmd /c npm install --global --production windows-build-tools
[12:39:17][Step 1/2] in directory: C:\BuildAgent\work\7eb4cf378c8664af\src\myproject
[12:39:17][Step 1/2] npm install --global --production windows-build-tools (4h:18m:02s)
[12:39:25][npm install --global --production windows-build-tools]
[12:39:25][npm install --global --production windows-build-tools] > [email protected] postinstall C:\WINDOWS\system32\config\systemprofile\AppData\Roaming\npm\node_modules\windows-build-tools
[12:39:25][npm install --global --production windows-build-tools] > node ./lib/index.js
[12:39:25][npm install --global --production windows-build-tools]
[12:39:26][npm install --global --production windows-build-tools] Downloading BuildTools_Full.exe
[12:39:26][npm install --global --production windows-build-tools] [> ] 0.0% (0 B/s)
[12:39:26][npm install --global --production windows-build-tools] [1000D [0K [1A [1000D [0K [1A [1000D [0KDownloading python-2.7.14.amd64.msi
[12:39:26][npm install --global --production windows-build-tools] [> ] 0.0% (0 B/s)
[12:39:26][npm install --global --production windows-build-tools] [1000D [0K [1A [1000D [0K [1A [1000D [0KDownloading python-2.7.14.amd64.msi
[12:39:26][npm install --global --production windows-build-tools] [> ] 0.0% (0 B/s)
[12:39:26][npm install --global --production windows-build-tools] Downloaded python-2.7.14.amd64.msi. Saved to C:\WINDOWS\system32\config\systemprofile\.windows-build-tools\python-2.7.14.amd64.msi.
[12:39:26][npm install --global --production windows-build-tools] [1000D [0K [1A [1000D [0K [1A [1000D [0KDownloading BuildTools_Full.exe
[12:39:26][npm install --global --production windows-build-tools] [> ] 0.0% (0 B/s)
[12:39:26][npm install --global --production windows-build-tools] Downloaded BuildTools_Full.exe. Saved to C:\WINDOWS\system32\config\systemprofile\.windows-build-tools\BuildTools_Full.exe.
[12:39:26][npm install --global --production windows-build-tools]
[12:39:26][npm install --global --production windows-build-tools] Starting installation...
[12:39:27][npm install --global --production windows-build-tools] Launched installers, now waiting for them to finish.
[12:39:27][npm install --global --production windows-build-tools] This will likely take some time - please be patient!
[12:39:27][npm install --global --production windows-build-tools]
[12:39:27][npm install --global --production windows-build-tools] Status from the installers:
[12:39:28][npm install --global --production windows-build-tools] ---------- Visual Studio Build Tools ----------
[12:39:28][npm install --global --production windows-build-tools] Still waiting for installer log file...
[12:39:28][npm install --global --production windows-build-tools] ------------------- Python --------------------
[12:39:29][npm install --global --production windows-build-tools] Still waiting for installer log file... [1000D [0K [1A [1000D [0K [1A [1000D [0K [1A [1000D [0K---------- Visual Studio Build Tools ----------
[12:39:29][npm install --global --production windows-build-tools] Still waiting for installer log file...
[12:39:29][npm install --global --production windows-build-tools] ------------------- Python --------------------
[12:39:30][npm install --global --production windows-build-tools] Still waiting for installer log file... [1000D [0K [1A [1000D [0K [1A [1000D [0K [1A [1000D [0K---------- Visual Studio Build Tools ----------
[12:39:30][npm install --global --production windows-build-tools] Still waiting for installer log file...
[12:39:30][npm install --global --production windows-build-tools] ------------------- Python --------------------
[12:39:31][npm install --global --production windows-build-tools] Still waiting for installer log file... [1000D [0K [1A [1000D [0K [1A [1000D [0K [1A [1000D [0K---------- Visual Studio Build Tools ----------
[12:39:31][npm install --global --production windows-build-tools] Still waiting for installer log file...
[12:39:31][npm install --global --production windows-build-tools] ------------------- Python --------------------
[12:39:32][npm install --global --production windows-build-tools] Still waiting for installer log file... [1000D [0K [1A [1000D [0K [1A [1000D [0K [1A [1000D [0K---------- Visual Studio Build Tools ----------
[12:39:32][npm install --global --production windows-build-tools] Still waiting for installer log file...
[12:39:32][npm install --global --production windows-build-tools] ------------------- Python --------------------
[12:39:33][npm install --global --production windows-build-tools] Successfully installed Python 2.7 [1000D [0K [1A [1000D [0K [1A [1000D [0K [1A [1000D [0K---------- Visual Studio Build Tools ----------
[12:39:33][npm install --global --production windows-build-tools] Still waiting for installer log file...
[12:39:33][npm install --global --production windows-build-tools] ------------------- Python --------------------
[12:39:34][npm install --global --production windows-build-tools] Successfully installed Python 2.7 [1000D [0K [1A [1000D [0K [1A [1000D [0K [1A [1000D [0K---------- Visual Studio Build Tools ----------
[12:39:34][npm install --global --production windows-build-tools] Still waiting for installer log file...
[12:39:34][npm install --global --production windows-build-tools] ------------------- Python --------------------
[12:39:35][npm install --global --production windows-build-tools] Successfully installed Python 2.7 [1000D [0K [1A [1000D [0K [1A [1000D [0K [1A [1000D [0K---------- Visual Studio Build Tools ----------
[12:39:35][npm install --global --production windows-build-tools] Still waiting for installer log file...
[12:39:35][npm install --global --production windows-build-tools] ------------------- Python --------------------
[12:39:36][npm install --global --production windows-build-tools] Successfully installed Python 2.7 [1000D [0K [1A [1000D [0K [1A [1000D [0K [1A [1000D [0K---------- Visual Studio Build Tools ----------
[12:39:36][npm install --global --production windows-build-tools] Still waiting for installer log file...
[12:39:36][npm install --global --production windows-build-tools] ------------------- Python --------------------
[12:39:37][npm install --global --production windows-build-tools] Successfully installed Python 2.7 [1000D [0K [1A [1000D [0K [1A [1000D [0K [1A [1000D [0K---------- Visual Studio Build Tools ----------
[12:39:37][npm install --global --production windows-build-tools] Still waiting for installer log file...
[12:39:37][npm install --global --production windows-build-tools] ------------------- Python --------------------
[12:39:38][npm install --global --production windows-build-tools] Successfully installed Python 2.7 [1000D [0K [1A [1000D [0K [1A [1000D [0K [1A [1000D [0K---------- Visual Studio Build Tools ----------
[12:39:38][npm install --global --production windows-build-tools] Still waiting for installer log file...
[12:39:38][npm install --global --production windows-build-tools] ------------------- Python --------------------
[12:39:39][npm install --global --production windows-build-tools] Successfully installed Python 2.7 [1000D [0K [1A [1000D [0K [1A [1000D [0K [1A [1000D [0K---------- Visual Studio Build Tools ----------
[12:39:39][npm install --global --production windows-build-tools] Still waiting for installer log file...
same here
C:\Program Files (Portable)\ConsoleZ>npm i -g windows-build-tools
> [email protected] postinstall C:\Users\USER\AppData\Roaming\npm\node_modules\windows-build-tools
> node ./lib/index.js
Downloading BuildTools_Full.exe
[> ] 0.0% (0 B/s)
Downloading python-2.7.14.amd64.msi
[> ] 0.0% (0 B/s)
Downloaded python-2.7.14.amd64.msi. Saved to C:\Users\USER\.windows-build-tools\python-2.7.14.amd64.msi.
Starting installation...
Launched installers, now waiting for them to finish.
This will likely take some time - please be patient!
Status from the installers:
---------- Visual Studio Build Tools ----------
Still waiting for installer log file...
------------------- Python --------------------
Still waiting for installer log file...
Same. However, after manual download of python-2.7.14.amd64.msi from python site and "repair-install" - everything working fine.
@link0802 I followed the above, but it still didn't resolve the issue. Do you know the name of the log file and where it expects it to be?
I had removed Python 2 a long time ago, but it was still displayed in the "Installed Files & Programs " of Windows. I tried to run this like using npm install --global --production windows-build-tools
and got stuck in the same part.
So I tried to manually install Python and saw that an error occurred in the installation. To resolve, I searched for "Python 2 " and "Python-2 " in the entire Windows registry, I removed all the keys and the problem of installation just gone. 😃
I executed npm install --global --production windows-build-tools
again and everything worked.
I'm also having the same issue (also tried @link0802 's idea)
Ok I managed to solve this by simply installing python and visual studio build tools manually: https://github.com/nodejs/node-gyp
Note that In my case I still installed the 2015 build tools so I had to set npm config set msvs_version 2015
for everything to work!
What about this
i also issue for waiting visual log file.
+1 I tried with offline installer and getting the same issue as @atikvhora .
Try installing previous version, it will work awesome...
npm install --global --production [email protected]