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 #29

Open yblaize opened 3 years ago

yblaize commented 3 years ago
<!--Describe your issue here-->

version: 2021.219.3
env:
```
os: win32
arch: x64
PATH: C:\Program Files (x86)\Google\Chrome\Application;C:\Program Files (x86)\Common Files\Intel\Shared Files\cpp\bin\Intel64;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Skype\Phone\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files (x86)\QuickTime\QTSystem\;C:\Program Files\Docker\Docker\resources\bin;C:\ProgramData\DockerDesktop\version-bin;C:\Program Files\dotnet\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn\;C:\Program Files\Git\cmd;C:\Program Files (x86)\Microsoft SQL Server\110\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\120\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\130\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\140\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\150\DTS\Binn\;C:\Users\Blaize Yusuf\AppData\Local\Microsoft\WindowsApps;;C:\Users\Blaize Yusuf\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\Blaize Yusuf\.dotnet\tools
```
log:
Please paste the logs that have been copied to your clipboard here with Ctrl+V.

info: Started {"timestamp":"2021-09-16T06:52:20.400Z"} verbose: Ids: {"machineId":"6dd16deee7c0bd3b69805bf95a6ee8ea93d76395113b646fc5c6b156b29205d1","sessionId":"de30efb4-e3b2-4525-bfc8-4fae041c6abe1631775133692","timestamp":"2021-09-16T06:52:20.411Z"} info: Detecting bundled binaries... {"timestamp":"2021-09-16T06:52:20.536Z"} info: Detecting packed Python... {"timestamp":"2021-09-16T06:52:20.537Z"} info: Detected packed Python at C:\Users\BLAIZE~1\AppData\Local\Temp\1oiP0mtgmNM17u55fLKvSpuSxU0\resources\binaries\bundled-python.zip {"timestamp":"2021-09-16T06:52:20.811Z"} info: Detecting packed VSCode... {"timestamp":"2021-09-16T06:52:20.812Z"} error: Failed to detect packed VSCode. {"timestamp":"2021-09-16T06:52:20.825Z"} info: Detecting packed extensions... {"timestamp":"2021-09-16T06:52:20.826Z"} info: Detected packed extensions: [{"path":"C:\Users\BLAIZE~1\AppData\Local\Temp\1oiP0mtgmNM17u55fLKvSpuSxU0\resources\binaries\exts\ms-python.gather.vsix"},{"path":"C:\Users\BLAIZE~1\AppData\Local\Temp\1oiP0mtgmNM17u55fLKvSpuSxU0\resources\binaries\exts\ms-python.python.vsix"},{"path":"C:\Users\BLAIZE~1\AppData\Local\Temp\1oiP0mtgmNM17u55fLKvSpuSxU0\resources\binaries\exts\vscode-pylance.vsix"}] {"timestamp":"2021-09-16T06:52:20.840Z"} info: Detected packed binaries: {"python":{"path":"C:\Users\BLAIZE~1\AppData\Local\Temp\1oiP0mtgmNM17u55fLKvSpuSxU0\resources\binaries\bundled-python.zip"},"extensions":[{"path":"C:\Users\BLAIZE~1\AppData\Local\Temp\1oiP0mtgmNM17u55fLKvSpuSxU0\resources\binaries\exts\ms-python.gather.vsix"},{"path":"C:\Users\BLAIZE~1\AppData\Local\Temp\1oiP0mtgmNM17u55fLKvSpuSxU0\resources\binaries\exts\ms-python.python.vsix"},{"path":"C:\Users\BLAIZE~1\AppData\Local\Temp\1oiP0mtgmNM17u55fLKvSpuSxU0\resources\binaries\exts\vscode-pylance.vsix"}],"timestamp":"2021-09-16T06:52:20.840Z"} info: Detecting installed components... {"timestamp":"2021-09-16T06:52:20.842Z"} info: Detecting installed Python... {"timestamp":"2021-09-16T06:52:20.843Z"} 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":"2021-09-16T06:52:22.088Z"} 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":"2021-09-16T06:52:22.088Z"} info: Detecting installed VSCode... {"timestamp":"2021-09-16T06:52:22.089Z"} verbose: Looking for Code stable x64-user in x64 registry: HKCU\Software\Microsoft\Windows\CurrentVersion\Uninstall{771FD6B0-FA20-440A-A002-3B3BAC16DC50}_is1 {"timestamp":"2021-09-16T06:52:22.090Z"} info: Detected installed VSCode: Code stable x64-user is installed. {"timestamp":"2021-09-16T06:52:22.813Z"} info: Detecting installed extensions... {"timestamp":"2021-09-16T06:52:22.814Z"} info: Detected installed extensions: {"ms-python.python":false,"ms-python.vscode-pylance":false,"ms-python.gather":false,"ms-vsliveshare.vsliveshare":false} {"timestamp":"2021-09-16T06:52:22.817Z"} info: Detected installed components: {"vscode":{"name":"VSCode","homedir":"C:\Users\Blaize Yusuf\AppData\Local\Programs\Microsoft VS Code\","version":"0","displayVersion":"1.60.1","product":{"kind":"user","arch":"x64","edition":"stable","appId":"{771FD6B0-FA20-440A-A002-3B3BAC16DC50}"}},"extensions":{"ms-python.python":false,"ms-python.vscode-pylance":false,"ms-python.gather":false,"ms-vsliveshare.vsliveshare":false},"isPythonPartiallyInstalled":false,"timestamp":"2021-09-16T06:52:22.819Z"} info: Starting to install VS Code and extensions... {"timestamp":"2021-09-16T06:52:35.990Z"} info: Attempting to install the following VS Code extensions: ["C:\Users\BLAIZE~1\AppData\Local\Temp\1oiP0mtgmNM17u55fLKvSpuSxU0\resources\binaries\exts\ms-python.gather.vsix","C:\Users\BLAIZE~1\AppData\Local\Temp\1oiP0mtgmNM17u55fLKvSpuSxU0\resources\binaries\exts\ms-python.python.vsix","C:\Users\BLAIZE~1\AppData\Local\Temp\1oiP0mtgmNM17u55fLKvSpuSxU0\resources\binaries\exts\vscode-pylance.vsix"] {"timestamp":"2021-09-16T06:52:35.993Z"} info: Currently installing extension ms-python.python from the extension marketplace... {"timestamp":"2021-09-16T06:52:35.996Z"} verbose: runVSCodeCommand: {"0":"--install-extension","1":"ms-python.python","timestamp":"2021-09-16T06:52:35.998Z"} info: Detecting installed VSCode... {"timestamp":"2021-09-16T06:52:35.998Z"} verbose: Looking for Code stable x64-user in x64 registry: HKCU\Software\Microsoft\Windows\CurrentVersion\Uninstall{771FD6B0-FA20-440A-A002-3B3BAC16DC50}_is1 {"timestamp":"2021-09-16T06:52:36.000Z"} info: Detected installed VSCode: Code stable x64-user is installed. {"timestamp":"2021-09-16T06:52:37.758Z"} verbose: Installed vscode: {"name":"VSCode","homedir":"C:\Users\Blaize Yusuf\AppData\Local\Programs\Microsoft VS Code\","version":"0","displayVersion":"1.60.1","product":{"kind":"user","arch":"x64","edition":"stable","appId":"{771FD6B0-FA20-440A-A002-3B3BAC16DC50}"},"timestamp":"2021-09-16T06:52:37.758Z"} verbose: exec: C:\Users\Blaize Yusuf\AppData\Local\Programs\Microsoft VS Code\Code.exe {"timestamp":"2021-09-16T06:52:37.769Z"} verbose: cli: C:\Users\Blaize Yusuf\AppData\Local\Programs\Microsoft VS Code\bin\code.cmd {"timestamp":"2021-09-16T06:52:37.790Z"} info: Installing extensions... Installing extension 'ms-python.python'... Extension 'ms-python.python' v2021.9.1230869389 was successfully installed. {"timestamp":"2021-09-16T06:54:17.517Z"} error: (node:27400) [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":"2021-09-16T06:54:17.518Z"} info: Successfully installed extension ms-python.python. {"timestamp":"2021-09-16T06:54:17.518Z"} info: Successfully installed extension ms-python.python from the extension marketplace. {"timestamp":"2021-09-16T06:54:17.518Z"} info: Currently installing extension ms-python.gather from the extension marketplace... {"timestamp":"2021-09-16T06:54:17.529Z"} verbose: runVSCodeCommand: {"0":"--install-extension","1":"ms-python.gather","timestamp":"2021-09-16T06:54:17.529Z"} info: Detecting installed VSCode... {"timestamp":"2021-09-16T06:54:17.529Z"} verbose: Looking for Code stable x64-user in x64 registry: HKCU\Software\Microsoft\Windows\CurrentVersion\Uninstall{771FD6B0-FA20-440A-A002-3B3BAC16DC50}_is1 {"timestamp":"2021-09-16T06:54:17.529Z"} info: Detected installed VSCode: Code stable x64-user is installed. {"timestamp":"2021-09-16T06:54:18.166Z"} verbose: Installed vscode: {"name":"VSCode","homedir":"C:\Users\Blaize Yusuf\AppData\Local\Programs\Microsoft VS Code\","version":"0","displayVersion":"1.60.1","product":{"kind":"user","arch":"x64","edition":"stable","appId":"{771FD6B0-FA20-440A-A002-3B3BAC16DC50}"},"timestamp":"2021-09-16T06:54:18.166Z"} verbose: exec: C:\Users\Blaize Yusuf\AppData\Local\Programs\Microsoft VS Code\Code.exe {"timestamp":"2021-09-16T06:54:18.168Z"} verbose: cli: C:\Users\Blaize Yusuf\AppData\Local\Programs\Microsoft VS Code\bin\code.cmd {"timestamp":"2021-09-16T06:54:18.169Z"} info: Installing extensions... Installing extension 'ms-python.gather'... Extension 'ms-python.gather' v2021.9.0 was successfully installed. {"timestamp":"2021-09-16T06:54:30.250Z"} error: (node:23232) [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":"2021-09-16T06:54:30.251Z"} info: Successfully installed extension ms-python.gather. {"timestamp":"2021-09-16T06:54:30.251Z"} info: Successfully installed extension ms-python.gather from the extension marketplace. {"timestamp":"2021-09-16T06:54:30.251Z"} info: Currently installing extension ms-python.vscode-pylance from the extension marketplace... {"timestamp":"2021-09-16T06:54:30.258Z"} verbose: runVSCodeCommand: {"0":"--install-extension","1":"ms-python.vscode-pylance","timestamp":"2021-09-16T06:54:30.259Z"} info: Detecting installed VSCode... {"timestamp":"2021-09-16T06:54:30.259Z"} verbose: Looking for Code stable x64-user in x64 registry: HKCU\Software\Microsoft\Windows\CurrentVersion\Uninstall{771FD6B0-FA20-440A-A002-3B3BAC16DC50}_is1 {"timestamp":"2021-09-16T06:54:30.259Z"} info: Detected installed VSCode: Code stable x64-user is installed. {"timestamp":"2021-09-16T06:54:30.915Z"} verbose: Installed vscode: {"name":"VSCode","homedir":"C:\Users\Blaize Yusuf\AppData\Local\Programs\Microsoft VS Code\","version":"0","displayVersion":"1.60.1","product":{"kind":"user","arch":"x64","edition":"stable","appId":"{771FD6B0-FA20-440A-A002-3B3BAC16DC50}"},"timestamp":"2021-09-16T06:54:30.915Z"} verbose: exec: C:\Users\Blaize Yusuf\AppData\Local\Programs\Microsoft VS Code\Code.exe {"timestamp":"2021-09-16T06:54:30.917Z"} verbose: cli: C:\Users\Blaize Yusuf\AppData\Local\Programs\Microsoft VS Code\bin\code.cmd {"timestamp":"2021-09-16T06:54:30.918Z"} info: Installing extensions... Extension 'ms-python.vscode-pylance' v2021.9.1 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":"2021-09-16T06:54:33.595Z"} info: Successfully installed extension ms-python.vscode-pylance. {"timestamp":"2021-09-16T06:54:33.595Z"} info: Successfully installed extension ms-python.vscode-pylance from the extension marketplace. {"timestamp":"2021-09-16T06:54:33.595Z"} info: Currently installing extension ms-vsliveshare.vsliveshare from the extension marketplace... {"timestamp":"2021-09-16T06:54:33.602Z"} verbose: runVSCodeCommand: {"0":"--install-extension","1":"ms-vsliveshare.vsliveshare","timestamp":"2021-09-16T06:54:33.603Z"} info: Detecting installed VSCode... {"timestamp":"2021-09-16T06:54:33.603Z"} verbose: Looking for Code stable x64-user in x64 registry: HKCU\Software\Microsoft\Windows\CurrentVersion\Uninstall{771FD6B0-FA20-440A-A002-3B3BAC16DC50}_is1 {"timestamp":"2021-09-16T06:54:33.604Z"} info: Detected installed VSCode: Code stable x64-user is installed. {"timestamp":"2021-09-16T06:54:34.174Z"} verbose: Installed vscode: {"name":"VSCode","homedir":"C:\Users\Blaize Yusuf\AppData\Local\Programs\Microsoft VS Code\","version":"0","displayVersion":"1.60.1","product":{"kind":"user","arch":"x64","edition":"stable","appId":"{771FD6B0-FA20-440A-A002-3B3BAC16DC50}"},"timestamp":"2021-09-16T06:54:34.174Z"} verbose: exec: C:\Users\Blaize Yusuf\AppData\Local\Programs\Microsoft VS Code\Code.exe {"timestamp":"2021-09-16T06:54:34.176Z"} verbose: cli: C:\Users\Blaize Yusuf\AppData\Local\Programs\Microsoft VS Code\bin\code.cmd {"timestamp":"2021-09-16T06:54:34.177Z"} info: Installing extensions... Installing extension 'ms-vsliveshare.vsliveshare'... Extension 'ms-vsliveshare.vsliveshare' v1.0.4836 was successfully installed. {"timestamp":"2021-09-16T06:55:12.071Z"} error: (node:17160) [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":"2021-09-16T06:55:12.072Z"} info: Successfully installed extension ms-vsliveshare.vsliveshare. {"timestamp":"2021-09-16T06:55:12.072Z"} info: Successfully installed extension ms-vsliveshare.vsliveshare from the extension marketplace. {"timestamp":"2021-09-16T06:55:12.072Z"} info: Finished installing extensions. {"timestamp":"2021-09-16T06:55:12.081Z"} info: Attempting to write cohort identifier to extension folder at C:\Users\Blaize Yusuf.vscode\extensions\PythonCodingPack... {"timestamp":"2021-09-16T06:55:12.083Z"} info: Successfully wrote cohort identifier to extension folder at C:\Users\Blaize Yusuf.vscode\extensions\PythonCodingPack. {"timestamp":"2021-09-16T06:55:12.088Z"} info: Attempting to create starter Python file at C:\Users\Blaize Yusuf\Documents\hello.py... {"timestamp":"2021-09-16T06:55:12.090Z"} info: Successfully created starter Python file. {"timestamp":"2021-09-16T06:55:12.096Z"} info: Completed installing VS Code and extensions. {"timestamp":"2021-09-16T06:55:12.097Z"} info: Attempting to install Python and packages... {"timestamp":"2021-09-16T06:55:12.118Z"} info: Detecting packed Python... {"timestamp":"2021-09-16T06:55:12.118Z"} info: Detected packed Python at C:\Users\BLAIZE~1\AppData\Local\Temp\1oiP0mtgmNM17u55fLKvSpuSxU0\resources\binaries\bundled-python.zip {"timestamp":"2021-09-16T06:55:12.132Z"} info: Attempting to extract Python files from C:\Users\BLAIZE~1\AppData\Local\Temp\1oiP0mtgmNM17u55fLKvSpuSxU0\resources\binaries\bundled-python.zip... {"timestamp":"2021-09-16T06:55:12.132Z"} info: Attempting to rename C:\Users\Blaize Yusuf\AppData\Local\Programs\PythonCodingPack to C:\Users\Blaize Yusuf\AppData\Local\Programs\jusrxhpqou... {"timestamp":"2021-09-16T06:55:12.133Z"} info: Encountered error while attempting to rename and delete existing custom Python directory from C:\Users\Blaize Yusuf\AppData\Local\Programs\PythonCodingPack to C:\Users\Blaize Yusuf\AppData\Local\Programs\jusrxhpqou: Error: ENOENT: no such file or directory, rename 'C:\Users\Blaize Yusuf\AppData\Local\Programs\PythonCodingPack' -> 'C:\Users\Blaize Yusuf\AppData\Local\Programs\jusrxhpqou' {"timestamp":"2021-09-16T06:55:12.136Z"} info: Successfully extracted Python files to C:\Users\Blaize Yusuf\AppData\Local\Programs\PythonCodingPack. Elapsed time to extract Python: 218913ms. {"timestamp":"2021-09-16T06:58:51.049Z"} info: Writing keys to Windows Registry... {"timestamp":"2021-09-16T06:58:51.055Z"} info: Successfully completed writing keys to Windows Registry. {"timestamp":"2021-09-16T06:58:56.454Z"} verbose: Registry Item: Path REG_EXPAND_SZ C:\Users\Blaize Yusuf\AppData\Local\Programs\Eclipse Foundation\jdk-11.0.12.7-hotspot\bin;%USERPROFILE%\AppData\Local\Microsoft\WindowsApps;;C:\Users\Blaize Yusuf\AppData\Local\Programs\Microsoft VS Code\bin;%USERPROFILE%.dotnet\tools {"timestamp":"2021-09-16T06:58:56.887Z"} verbose: Registry Item: TEMP REG_EXPAND_SZ %USERPROFILE%\AppData\Local\Temp {"timestamp":"2021-09-16T06:58:56.887Z"} verbose: Registry Item: TMP REG_EXPAND_SZ %USERPROFILE%\AppData\Local\Temp {"timestamp":"2021-09-16T06:58:56.887Z"} verbose: Registry Item: OneDrive REG_EXPAND_SZ C:\Users\Blaize Yusuf\OneDrive {"timestamp":"2021-09-16T06:58:56.887Z"} verbose: Registry Item: OneDriveConsumer REG_EXPAND_SZ C:\Users\Blaize Yusuf\OneDrive {"timestamp":"2021-09-16T06:58:56.887Z"} verbose: Registry Item: JAVA_HOME REG_SZ C:\Users\Blaize Yusuf\AppData\Local\Programs\Eclipse Foundation\jdk-11.0.12.7-hotspot\ {"timestamp":"2021-09-16T06:58:56.887Z"} info: Successfully located HKCU\Environment\Path {"timestamp":"2021-09-16T06:58:56.887Z"} info: Attempting to prepend Python to PATH with command: setx PATH C:\Users\Blaize Yusuf\AppData\Local\Programs\PythonCodingPack\Scripts;C:\Users\Blaize Yusuf\AppData\Local\Programs\PythonCodingPack;C:\Users\Blaize Yusuf\AppData\Local\Programs\Eclipse Foundation\jdk-11.0.12.7-hotspot\bin;%USERPROFILE%\AppData\Local\Microsoft\WindowsApps;;C:\Users\Blaize Yusuf\AppData\Local\Programs\Microsoft VS Code\bin;%USERPROFILE%.dotnet\tools {"timestamp":"2021-09-16T06:58:56.887Z"} info: Encountered error while updating PATH: Error: Command failed with exit code 1: setx PATH C:\Users\Blaize Yusuf\AppData\Local\Programs\PythonCodingPack\Scripts;C:\Users\Blaize Yusuf\AppData\Local\Programs\PythonCodingPack;C:\Users\Blaize Yusuf\AppData\Local\Programs\Eclipse Foundation\jdk-11.0.12.7-hotspot\bin;%USERPROFILE%\AppData\Local\Microsoft\WindowsApps;;C:\Users\Blaize Yusuf\AppData\Local\Programs\Microsoft VS Code\bin;%USERPROFILE%.dotnet\tools ERROR: Access to the registry path is denied. {"timestamp":"2021-09-16T06:59:39.057Z"} info: Attempting to ensure pip is installed with command C:\Users\Blaize Yusuf\AppData\Local\Programs\PythonCodingPack\python.exe -m ensurepip --default-pip... {"timestamp":"2021-09-16T06:59:39.058Z"} info: Looking in links: c:\Users\BLAIZE~1\AppData\Local\Temp\tmpzqyq_dat Requirement already satisfied: setuptools in c:\users\blaize yusuf\appdata\local\programs\pythoncodingpack\lib\site-packages (47.1.0) Processing c:\users\blaize yusuf\appdata\local\temp\tmpzqyq_dat\pip-20.1.1-py2.py3-none-any.whl Installing collected packages: pip Successfully installed pip-20.1.1 {"timestamp":"2021-09-16T07:00:21.848Z"} info: WARNING: The scripts pip.exe, pip3.8.exe and pip3.exe are installed in 'C:\Users\Blaize Yusuf\AppData\Local\Programs\PythonCodingPack\Scripts' which is not on PATH. Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location. {"timestamp":"2021-09-16T07:00:21.849Z"} info: Successfully executed command C:\Users\Blaize Yusuf\AppData\Local\Programs\PythonCodingPack\python.exe -m ensurepip --default-pip. {"timestamp":"2021-09-16T07:00:21.849Z"} info: Completed installing Python and packages. {"timestamp":"2021-09-16T07:00:21.856Z"} info: Attempting to enable Powershell scripts {"timestamp":"2021-09-16T07:00:21.871Z"} info: Successfully enabled Powershell scripts {"timestamp":"2021-09-16T07:00:22.333Z"}