microsoft / coding-pack-for-python

Documentation and issues for the VS Code Python installer.
Creative Commons Attribution 4.0 International
30 stars 4 forks source link

Installer v2021.219.3 error #65

Open mtamjidhossain opened 2 years ago

mtamjidhossain commented 2 years ago
<!--Describe your issue here-->

version: 2021.219.3
env:
```
os: win32
arch: x64
PATH: C:\Program Files (x86)\Microsoft\Edge\Application;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.6\bin;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.6\libnvvp;C:\Program Files\Python310\Scripts\;C:\Program Files\Python310\;C:\Program Files\Common Files\Oracle\Java\javapath;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\iCLS\;C:\Program Files\Intel\Intel(R) Management Engine Components\iCLS\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Git\cmd;C:\Users\tamzi\AppData\Local\Programs\Python\Python39;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\150\Tools\Binn\;C:\Program Files\Microsoft SQL Server\150\Tools\Binn\;C:\Program Files\Microsoft SQL Server\150\DTS\Binn\;C:\Program Files\Java\jdk1.8.0_311\bin;C:\Program Files\nodejs\;C:\Program Files\NVIDIA Corporation\Nsight Compute 2022.1.1\;C:\Program Files\PuTTY\;PythonPath;C:\Users\tamzi\AppData\Local\atom\bin;C:\Users\tamzi\AppData\Local\Programs\Microsoft VS Code\bin;C:\Program Files (x86)\GitHub CLI\;C:\Users\tamzi\AppData\Local\GitHubDesktop\bin;C:\Users\tamzi\AppData\Roaming\npm;C:\Users\tamzi\AppData\Local\Programs\MiKTeX\miktex\bin\x64\;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.6\bin;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.6\libnvvp;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.6\extras\CUPTI\lib64;
```
log:
Please paste the logs that have been copied to your clipboard here with Ctrl+V.
info: Started {"timestamp":"2022-06-11T18:51:22.714Z"}

verbose: Ids: {"machineId":"4255150b1629f17baf4f32d70e9867bfadc65ad36547000ee006a571af876426","sessionId":"583386d0-098a-43c3-a37e-6abe329e2fdf1654973481707","timestamp":"2022-06-11T18:51:22.717Z"} info: Detecting bundled binaries... {"timestamp":"2022-06-11T18:51:22.744Z"} info: Detecting packed Python... {"timestamp":"2022-06-11T18:51:22.745Z"} info: Detected packed Python at C:\Users\tamzi\AppData\Local\Temp\1oiP0mtgmNM17u55fLKvSpuSxU0\resources\binaries\bundled-python.zip {"timestamp":"2022-06-11T18:51:22.800Z"} info: Detecting packed VSCode... {"timestamp":"2022-06-11T18:51:22.802Z"} error: Failed to detect packed VSCode. {"timestamp":"2022-06-11T18:51:22.807Z"} info: Detecting packed extensions... {"timestamp":"2022-06-11T18:51:22.807Z"} info: Detected packed extensions: [{"path":"C:\Users\tamzi\AppData\Local\Temp\1oiP0mtgmNM17u55fLKvSpuSxU0\resources\binaries\exts\ms-python.gather.vsix"},{"path":"C:\Users\tamzi\AppData\Local\Temp\1oiP0mtgmNM17u55fLKvSpuSxU0\resources\binaries\exts\ms-python.python.vsix"},{"path":"C:\Users\tamzi\AppData\Local\Temp\1oiP0mtgmNM17u55fLKvSpuSxU0\resources\binaries\exts\vscode-pylance.vsix"}] {"timestamp":"2022-06-11T18:51:22.811Z"} info: Detected packed binaries: {"python":{"path":"C:\Users\tamzi\AppData\Local\Temp\1oiP0mtgmNM17u55fLKvSpuSxU0\resources\binaries\bundled-python.zip"},"extensions":[{"path":"C:\Users\tamzi\AppData\Local\Temp\1oiP0mtgmNM17u55fLKvSpuSxU0\resources\binaries\exts\ms-python.gather.vsix"},{"path":"C:\Users\tamzi\AppData\Local\Temp\1oiP0mtgmNM17u55fLKvSpuSxU0\resources\binaries\exts\ms-python.python.vsix"},{"path":"C:\Users\tamzi\AppData\Local\Temp\1oiP0mtgmNM17u55fLKvSpuSxU0\resources\binaries\exts\vscode-pylance.vsix"}],"timestamp":"2022-06-11T18:51:22.811Z"} info: Detecting installed components... {"timestamp":"2022-06-11T18:51:22.811Z"} info: Detecting installed Python... {"timestamp":"2022-06-11T18:51:22.811Z"} error: Failed to get registry key HKCU\Software\Python\PythonCodingPack\3.8\DisplayName. Encountered error: p: QUERY command exited with code 1:

ERROR: The system was unable to find the specified registry key or value. {"timestamp":"2022-06-11T18:51:22.966Z"} error: Encountered while detecting installed Python: Failed to get registry key HKCU\Software\Python\PythonCodingPack\3.8\DisplayName. Encountered error: p: QUERY command exited with code 1:

ERROR: The system was unable to find the specified registry key or value. {"timestamp":"2022-06-11T18:51:22.967Z"} info: Detecting installed VSCode... {"timestamp":"2022-06-11T18:51:22.967Z"} verbose: Looking for Code stable x64-user in x64 registry: HKCU\Software\Microsoft\Windows\CurrentVersion\Uninstall{771FD6B0-FA20-440A-A002-3B3BAC16DC50}_is1 {"timestamp":"2022-06-11T18:51:22.967Z"} info: Detected installed VSCode: Code stable x64-user is installed. {"timestamp":"2022-06-11T18:51:23.034Z"} info: Detecting installed extensions... {"timestamp":"2022-06-11T18:51:23.035Z"} info: Detected installed extensions: {"ms-python.python":true,"ms-python.vscode-pylance":true,"ms-python.gather":false,"ms-vsliveshare.vsliveshare":false} {"timestamp":"2022-06-11T18:51:23.064Z"} info: Detected installed components: {"vscode":{"name":"VSCode","homedir":"C:\Users\tamzi\AppData\Local\Programs\Microsoft VS Code\","version":"0","displayVersion":"1.67.2","product":{"kind":"user","arch":"x64","edition":"stable","appId":"{771FD6B0-FA20-440A-A002-3B3BAC16DC50}"}},"extensions":{"ms-python.python":true,"ms-python.vscode-pylance":true,"ms-python.gather":false,"ms-vsliveshare.vsliveshare":false},"isPythonPartiallyInstalled":false,"timestamp":"2022-06-11T18:51:23.065Z"} info: Starting to install VS Code and extensions... {"timestamp":"2022-06-11T19:02:04.349Z"} info: Attempting to install the following VS Code extensions: ["C:\Users\tamzi\AppData\Local\Temp\1oiP0mtgmNM17u55fLKvSpuSxU0\resources\binaries\exts\ms-python.gather.vsix","C:\Users\tamzi\AppData\Local\Temp\1oiP0mtgmNM17u55fLKvSpuSxU0\resources\binaries\exts\ms-python.python.vsix","C:\Users\tamzi\AppData\Local\Temp\1oiP0mtgmNM17u55fLKvSpuSxU0\resources\binaries\exts\vscode-pylance.vsix"] {"timestamp":"2022-06-11T19:02:04.350Z"} info: Currently installing extension ms-python.python from the extension marketplace... {"timestamp":"2022-06-11T19:02:04.350Z"} verbose: runVSCodeCommand: {"0":"--install-extension","1":"ms-python.python","timestamp":"2022-06-11T19:02:04.350Z"} info: Detecting installed VSCode... {"timestamp":"2022-06-11T19:02:04.350Z"} verbose: Looking for Code stable x64-user in x64 registry: HKCU\Software\Microsoft\Windows\CurrentVersion\Uninstall{771FD6B0-FA20-440A-A002-3B3BAC16DC50}_is1 {"timestamp":"2022-06-11T19:02:04.350Z"} info: Detected installed VSCode: Code stable x64-user is installed. {"timestamp":"2022-06-11T19:02:04.439Z"} verbose: Installed vscode: {"name":"VSCode","homedir":"C:\Users\tamzi\AppData\Local\Programs\Microsoft VS Code\","version":"0","displayVersion":"1.68.0","product":{"kind":"user","arch":"x64","edition":"stable","appId":"{771FD6B0-FA20-440A-A002-3B3BAC16DC50}"},"timestamp":"2022-06-11T19:02:04.439Z"} verbose: exec: C:\Users\tamzi\AppData\Local\Programs\Microsoft VS Code\Code.exe {"timestamp":"2022-06-11T19:02:04.440Z"} verbose: cli: C:\Users\tamzi\AppData\Local\Programs\Microsoft VS Code\bin\code.cmd {"timestamp":"2022-06-11T19:02:04.440Z"} info: Installing extensions... Extension 'ms-python.python' v2022.8.0 is already installed. Use '--force' option to update to latest version or provide '@' to install a specific version, for example: 'ms-python.python@1.2.3'. {"timestamp":"2022-06-11T19:02:05.812Z"} info: Successfully installed extension ms-python.python. {"timestamp":"2022-06-11T19:02:05.813Z"} info: Successfully installed extension ms-python.python from the extension marketplace. {"timestamp":"2022-06-11T19:02:05.813Z"} info: Currently installing extension ms-python.gather from the extension marketplace... {"timestamp":"2022-06-11T19:02:05.817Z"} verbose: runVSCodeCommand: {"0":"--install-extension","1":"ms-python.gather","timestamp":"2022-06-11T19:02:05.817Z"} info: Detecting installed VSCode... {"timestamp":"2022-06-11T19:02:05.817Z"} verbose: Looking for Code stable x64-user in x64 registry: HKCU\Software\Microsoft\Windows\CurrentVersion\Uninstall{771FD6B0-FA20-440A-A002-3B3BAC16DC50}_is1 {"timestamp":"2022-06-11T19:02:05.818Z"} info: Detected installed VSCode: Code stable x64-user is installed. {"timestamp":"2022-06-11T19:02:05.888Z"} verbose: Installed vscode: {"name":"VSCode","homedir":"C:\Users\tamzi\AppData\Local\Programs\Microsoft VS Code\","version":"0","displayVersion":"1.68.0","product":{"kind":"user","arch":"x64","edition":"stable","appId":"{771FD6B0-FA20-440A-A002-3B3BAC16DC50}"},"timestamp":"2022-06-11T19:02:05.888Z"} verbose: exec: C:\Users\tamzi\AppData\Local\Programs\Microsoft VS Code\Code.exe {"timestamp":"2022-06-11T19:02:05.889Z"} verbose: cli: C:\Users\tamzi\AppData\Local\Programs\Microsoft VS Code\bin\code.cmd {"timestamp":"2022-06-11T19:02:05.889Z"} info: Installing extensions... Installing extension 'ms-python.gather'... Extension 'ms-python.gather' v2022.3.0 was successfully installed. {"timestamp":"2022-06-11T19:02:09.688Z"} error: (node:10832) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead. (Use Code --trace-deprecation ... to show where the warning was created) {"timestamp":"2022-06-11T19:02:09.688Z"} info: Successfully installed extension ms-python.gather. {"timestamp":"2022-06-11T19:02:09.688Z"} info: Successfully installed extension ms-python.gather from the extension marketplace. {"timestamp":"2022-06-11T19:02:09.688Z"} info: Currently installing extension ms-python.vscode-pylance from the extension marketplace... {"timestamp":"2022-06-11T19:02:09.692Z"} verbose: runVSCodeCommand: {"0":"--install-extension","1":"ms-python.vscode-pylance","timestamp":"2022-06-11T19:02:09.692Z"} info: Detecting installed VSCode... {"timestamp":"2022-06-11T19:02:09.692Z"} verbose: Looking for Code stable x64-user in x64 registry: HKCU\Software\Microsoft\Windows\CurrentVersion\Uninstall{771FD6B0-FA20-440A-A002-3B3BAC16DC50}_is1 {"timestamp":"2022-06-11T19:02:09.693Z"} info: Detected installed VSCode: Code stable x64-user is installed. {"timestamp":"2022-06-11T19:02:09.791Z"} verbose: Installed vscode: {"name":"VSCode","homedir":"C:\Users\tamzi\AppData\Local\Programs\Microsoft VS Code\","version":"0","displayVersion":"1.68.0","product":{"kind":"user","arch":"x64","edition":"stable","appId":"{771FD6B0-FA20-440A-A002-3B3BAC16DC50}"},"timestamp":"2022-06-11T19:02:09.791Z"} verbose: exec: C:\Users\tamzi\AppData\Local\Programs\Microsoft VS Code\Code.exe {"timestamp":"2022-06-11T19:02:09.791Z"} verbose: cli: C:\Users\tamzi\AppData\Local\Programs\Microsoft VS Code\bin\code.cmd {"timestamp":"2022-06-11T19:02:09.791Z"} info: Installing extensions... Extension 'ms-python.vscode-pylance' v2022.6.10 is already installed. Use '--force' option to update to latest version or provide '@' to install a specific version, for example: 'ms-python.vscode-pylance@1.2.3'. {"timestamp":"2022-06-11T19:02:10.468Z"} info: Successfully installed extension ms-python.vscode-pylance. {"timestamp":"2022-06-11T19:02:10.468Z"} info: Successfully installed extension ms-python.vscode-pylance from the extension marketplace. {"timestamp":"2022-06-11T19:02:10.468Z"} info: Currently installing extension ms-vsliveshare.vsliveshare from the extension marketplace... {"timestamp":"2022-06-11T19:02:10.472Z"} verbose: runVSCodeCommand: {"0":"--install-extension","1":"ms-vsliveshare.vsliveshare","timestamp":"2022-06-11T19:02:10.473Z"} info: Detecting installed VSCode... {"timestamp":"2022-06-11T19:02:10.473Z"} verbose: Looking for Code stable x64-user in x64 registry: HKCU\Software\Microsoft\Windows\CurrentVersion\Uninstall{771FD6B0-FA20-440A-A002-3B3BAC16DC50}_is1 {"timestamp":"2022-06-11T19:02:10.473Z"} info: Detected installed VSCode: Code stable x64-user is installed. {"timestamp":"2022-06-11T19:02:10.542Z"} verbose: Installed vscode: {"name":"VSCode","homedir":"C:\Users\tamzi\AppData\Local\Programs\Microsoft VS Code\","version":"0","displayVersion":"1.68.0","product":{"kind":"user","arch":"x64","edition":"stable","appId":"{771FD6B0-FA20-440A-A002-3B3BAC16DC50}"},"timestamp":"2022-06-11T19:02:10.542Z"} verbose: exec: C:\Users\tamzi\AppData\Local\Programs\Microsoft VS Code\Code.exe {"timestamp":"2022-06-11T19:02:10.542Z"} verbose: cli: C:\Users\tamzi\AppData\Local\Programs\Microsoft VS Code\bin\code.cmd {"timestamp":"2022-06-11T19:02:10.542Z"} info: Installing extensions... Installing extension 'ms-vsliveshare.vsliveshare'... Extension 'ms-vsliveshare.vsliveshare' v1.0.5615 was successfully installed. {"timestamp":"2022-06-11T19:02:37.871Z"} error: (node:15264) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead. (Use Code --trace-deprecation ... to show where the warning was created) {"timestamp":"2022-06-11T19:02:37.872Z"} info: Successfully installed extension ms-vsliveshare.vsliveshare. {"timestamp":"2022-06-11T19:02:37.872Z"} info: Successfully installed extension ms-vsliveshare.vsliveshare from the extension marketplace. {"timestamp":"2022-06-11T19:02:37.872Z"} info: Finished installing extensions. {"timestamp":"2022-06-11T19:02:37.877Z"} info: Attempting to write cohort identifier to extension folder at C:\Users\tamzi.vscode\extensions\PythonCodingPack... {"timestamp":"2022-06-11T19:02:37.877Z"} info: Successfully wrote cohort identifier to extension folder at C:\Users\tamzi.vscode\extensions\PythonCodingPack. {"timestamp":"2022-06-11T19:02:37.880Z"} info: Attempting to create starter Python file at C:\Users\tamzi\Documents\hello.py... {"timestamp":"2022-06-11T19:02:37.880Z"} info: Failed to create blank Python file at C:\Users\tamzi\Documents\hello.py. {"timestamp":"2022-06-11T19:02:37.883Z"} info: Completed installing VS Code and extensions. {"timestamp":"2022-06-11T19:02:37.884Z"} info: Attempting to install Python and packages... {"timestamp":"2022-06-11T19:02:37.896Z"} info: Detecting packed Python... {"timestamp":"2022-06-11T19:02:37.897Z"} info: Completed installing Python and packages. {"timestamp":"2022-06-11T19:02:37.909Z"} info: Attempting to enable Powershell scripts {"timestamp":"2022-06-11T19:02:37.959Z"} info: Successfully enabled Powershell scripts {"timestamp":"2022-06-11T19:02:38.065Z"}