程序師世界是廣大編程愛好者互助、分享、學習的平台,程序師世界有你更精彩!
首頁
編程語言
C語言|JAVA編程
Python編程
網頁編程
ASP編程|PHP編程
JSP編程
數據庫知識
MYSQL數據庫|SqlServer數據庫
Oracle數據庫|DB2數據庫
您现在的位置: 程式師世界 >> 編程語言 >  >> 更多編程語言 >> Python

NPM is stuck in successfully installed Python 2.7 when installing windows build tools

編輯:Python

If you are little white , This set of information can help you become a big bull , If you have rich development experience , This set of information can help you break through the bottleneck
2022web Full set of video tutorial front-end architecture H5 vue node Applet video + Information + Code + Interview questions .

solve npm install windows-build-tools When stuck in Successfully installed Python 2.7

If you find this place , It means that the blog posts you have read before are ineffective and meaningless . Because I tried it out in other tutorials , It has no effect at all .

This is actually windows-build-tools One of the installation scripts BUG, I'm in it github Of issue Found this in

link :https://github.com/felixrieseberg/windows-build-tools/issues/244

If you are interested, you can open it directly to see the original text , The following is my translation

“Windows-build-tools There is a problem with the script , Unable to find VS Build tool installer log file . Seems to be VS The log file created by the build tool installer has changed . The script is in the folder %USERPROFILE% AppData Local Temp Find name in to dd_client_ The opening log file , however VS The build tool installer does not appear to have created anything to dd_client_ Opening file .”

Solution steps :

1、 function npm install -g windows-build-tools
2、 stay %temp% Find the latest file name in the folder, similar to dd_installer_20210421124746.log The file of
3、 View this file , Make sure that... Is output in the log Closing the installer with exit code 0
4、 Make sure you install it vscode
ps: You can actually skip 2–4 Step , Because of you. python The environment has long been installed , Repeat the steps, and the installer is long gone
5、 stay %temp% Create a directory called dd_client_.log The file of
6、 edit 5 Files created in , Join a row Closing installer. Return code: 3010. Then save .

then windows-build-tools You can continue to install

notes : Paste directly in Explorer %temp% You can open your Windows temp Catalog .

  1. 上一篇文章:
  2. 下一篇文章:
Copyright © 程式師世界 All Rights Reserved