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

Python Installation failed #1

Closed karthiknadig closed 4 years ago

karthiknadig commented 4 years ago

image

version: 2020.901.19

env:

os: win32
arch: x64
PATH: C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;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\PuTTY\;C:\Program Files\nodejs\;C:\Program Files\Docker\Docker\resources\bin;C:\ProgramData\DockerDesktop\version-bin;C:\Program Files\dotnet\;C:\Users\Karthik Nadig\AppData\Local\Programs\PythonCodingPack\Scripts;C:\Users\Karthik Nadig\AppData\Local\Programs\PythonCodingPack;C:\Users\Karthik Nadig\.poetry\bin;C:\Users\Karthik Nadig\AppData\Local\Microsoft\WindowsApps;C:\Users\Karthik Nadig\AppData\Roaming\npm;C:\Users\Karthik Nadig\AppData\Local\Microsoft\WindowsApps;C:\Users\Karthik Nadig\.dotnet\tools;C:\Users\Karthik Nadig\AppData\Local\Programs\Microsoft VS Code\bin

log:

info: Started {"timestamp":"2020-09-02T03:47:07.358Z"}
verbose: Ids: {"machineId":"3740d2ac06f3d934789553672a6e5a478fb49ad9e76f91fbb4c54fe5787ba1bc","sessionId":"8b1cb389-c325-4577-a089-77a7c08d22ed1599018425926","timestamp":"2020-09-02T03:47:07.367Z"}
info: Detecting bundled binaries... {"timestamp":"2020-09-02T03:47:07.396Z"}
info: Detecting packed Python... {"timestamp":"2020-09-02T03:47:07.396Z"}
info: Detected packed Python at C:\Users\KARTHI~1\AppData\Local\Temp\1gw2NL5Yb2xmPsie1radACGfpv3\resources\binaries\bundled-python.zip {"timestamp":"2020-09-02T03:47:07.514Z"}
info: Detecting packed VSCode... {"timestamp":"2020-09-02T03:47:07.516Z"}
error: Failed to detect packed VSCode. {"timestamp":"2020-09-02T03:47:07.520Z"}
info: Detecting packed extensions... {"timestamp":"2020-09-02T03:47:07.521Z"}
info: Detected packed extensions: [{"path":"C:\\Users\\KARTHI~1\\AppData\\Local\\Temp\\1gw2NL5Yb2xmPsie1radACGfpv3\\resources\\binaries\\exts\\ms-python.gather.vsix"},{"path":"C:\\Users\\KARTHI~1\\AppData\\Local\\Temp\\1gw2NL5Yb2xmPsie1radACGfpv3\\resources\\binaries\\exts\\ms-python.python.vsix"},{"path":"C:\\Users\\KARTHI~1\\AppData\\Local\\Temp\\1gw2NL5Yb2xmPsie1radACGfpv3\\resources\\binaries\\exts\\vscode-pylance.vsix"}] {"timestamp":"2020-09-02T03:47:07.526Z"}
info: Detected packed binaries: {"python":{"path":"C:\\Users\\KARTHI~1\\AppData\\Local\\Temp\\1gw2NL5Yb2xmPsie1radACGfpv3\\resources\\binaries\\bundled-python.zip"},"extensions":[{"path":"C:\\Users\\KARTHI~1\\AppData\\Local\\Temp\\1gw2NL5Yb2xmPsie1radACGfpv3\\resources\\binaries\\exts\\ms-python.gather.vsix"},{"path":"C:\\Users\\KARTHI~1\\AppData\\Local\\Temp\\1gw2NL5Yb2xmPsie1radACGfpv3\\resources\\binaries\\exts\\ms-python.python.vsix"},{"path":"C:\\Users\\KARTHI~1\\AppData\\Local\\Temp\\1gw2NL5Yb2xmPsie1radACGfpv3\\resources\\binaries\\exts\\vscode-pylance.vsix"}],"timestamp":"2020-09-02T03:47:07.526Z"}
info: Detecting installed components... {"timestamp":"2020-09-02T03:47:07.527Z"}
info: Detecting installed Python... {"timestamp":"2020-09-02T03:47:07.528Z"}
error: Encountered while detecting installed Python: p: QUERY command exited with code 1:

ERROR: The system was unable to find the specified registry key or value. {"timestamp":"2020-09-02T03:47:07.652Z"}
info: Detecting installed VSCode... {"timestamp":"2020-09-02T03:47:07.653Z"}
verbose: Looking for Code stable x64-user in x64 registry: HKCU\Software\Microsoft\Windows\CurrentVersion\Uninstall\{771FD6B0-FA20-440A-A002-3B3BAC16DC50}_is1 {"timestamp":"2020-09-02T03:47:07.655Z"}
verbose: Code stable x64-user not found. {"timestamp":"2020-09-02T03:47:07.771Z"}
verbose: Looking for Code stable x64-system in x64 registry: HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\{EA457B21-F73E-494C-ACAB-524FDE069978}_is1 {"timestamp":"2020-09-02T03:47:07.772Z"}
verbose: Code stable x64-system not found. {"timestamp":"2020-09-02T03:47:07.887Z"}
verbose: Looking for Code stable x86-user in x86 registry: HKCU\Software\Microsoft\Windows\CurrentVersion\Uninstall\{D628A17A-9713-46BF-8D57-E671B46A741E}_is1 {"timestamp":"2020-09-02T03:47:07.888Z"}
verbose: Code stable x86-user not found. {"timestamp":"2020-09-02T03:47:08.021Z"}
verbose: Looking for Code stable x86-system in x86 registry: HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\{F8A2A208-72B3-4D61-95FC-8A65D340689B}_is1 {"timestamp":"2020-09-02T03:47:08.021Z"}
verbose: Code stable x86-system not found. {"timestamp":"2020-09-02T03:47:08.137Z"}
verbose: Looking for Code insider x64-user in x64 registry: HKCU\Software\Microsoft\Windows\CurrentVersion\Uninstall\{217B4C08-948D-4276-BFBB-BEE930AE5A2C}_is1 {"timestamp":"2020-09-02T03:47:08.137Z"}
verbose: Code insider x64-user not found. {"timestamp":"2020-09-02T03:47:08.251Z"}
verbose: Looking for Code insider x64-system in x64 registry: HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\{1287CAD5-7C8D-410D-88B9-0D1EE4A83FF2}_is1 {"timestamp":"2020-09-02T03:47:08.252Z"}
verbose: Code insider x64-system not found. {"timestamp":"2020-09-02T03:47:08.365Z"}
verbose: Looking for Code insider x86-user in x86 registry: HKCU\Software\Microsoft\Windows\CurrentVersion\Uninstall\{26F4A15E-E392-4887-8C09-7BC55712FD5B}_is1 {"timestamp":"2020-09-02T03:47:08.366Z"}
verbose: Code insider x86-user not found. {"timestamp":"2020-09-02T03:47:08.481Z"}
verbose: Looking for Code insider x86-system in x86 registry: HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\{C26E74D1-022E-4238-8B9D-1E7564A36CC9}_is1 {"timestamp":"2020-09-02T03:47:08.482Z"}
verbose: Code insider x86-system not found. {"timestamp":"2020-09-02T03:47:08.597Z"}
info: Failed to detect installed VS Code {"timestamp":"2020-09-02T03:47:08.598Z"}
info: Detecting installed extensions... {"timestamp":"2020-09-02T03:47:08.599Z"}
info: Detected installed extensions: {"ms-python.python":true,"ms-python.vscode-pylance":true,"ms-python.gather":false} {"timestamp":"2020-09-02T03:47:08.601Z"}
info: Detected installed components: {"extensions":{"ms-python.python":true,"ms-python.vscode-pylance":true,"ms-python.gather":false},"isPythonPartiallyInstalled":false,"timestamp":"2020-09-02T03:47:08.603Z"}
info: Starting to install VS Code and extensions... {"timestamp":"2020-09-02T03:47:35.587Z"}
info: Downloading VS Code installer [attempt 0]... {"timestamp":"2020-09-02T03:47:35.588Z"}
verbose: vscode metadata {"url":"https://az764295.vo.msecnd.net/stable/a0479759d6e9ea56afa657e454193f72aef85bd0/VSCodeUserSetup-x64-1.48.2.exe","name":"1.48.2","version":"a0479759d6e9ea56afa657e454193f72aef85bd0","productVersion":"1.48.2","hash":"fbe319516d588b7341048f4296c09c9a41c99ad5","timestamp":1598349833566,"sha256hash":"65b46c347285bf651944a63afa9f367ebe6085df440638eae850b30e97348ace","supportsFastUpdate":true}
info: Visual Studio Code downloaded. {"timestamp":"2020-09-02T03:47:43.907Z"}
info: Successfully downloaded VS Code installer to C:\Users\KARTHI~1\AppData\Local\Temp\PythonCodingPack\binaries\vscode\x64. {"timestamp":"2020-09-02T03:47:43.907Z"}
info: Detecting packed VSCode... {"timestamp":"2020-09-02T03:47:43.916Z"}
error: Failed to detect packed VSCode. {"timestamp":"2020-09-02T03:47:43.918Z"}
info: Attempting to install VS Code... {"timestamp":"2020-09-02T03:47:43.919Z"}
verbose: Installing VS Code with command C:\Users\KARTHI~1\AppData\Local\Temp\PythonCodingPack\binaries\vscode\x64\VSCodeUserSetup-x64-1.48.2.exe /MERGETASKS=!runcode,desktopicon,addtopath,/VERYSILENT {"timestamp":"2020-09-02T03:47:43.920Z"}
info:  {"timestamp":"2020-09-02T03:48:05.125Z"}
info: Successfully installed VS Code. {"timestamp":"2020-09-02T03:48:05.125Z"}
info: Attempting to create default user settings.json at C:\Users\Karthik Nadig\AppData\Roaming\Code\User\settings.json with contents: {"python.defaultInterpreterPath":"C:\\Users\\Karthik Nadig\\AppData\\Local\\Programs\\PythonCodingPack\\python.exe","python.languageServer":"Pylance","python.linting.enabled":false,"python.experiments.optOutFrom":["DeprecatePythonPath - experiment"]} {"timestamp":"2020-09-02T03:48:05.130Z"}
info: Successfully created default user settings.json. {"timestamp":"2020-09-02T03:48:05.141Z"}
info: Attempting to install the following VS Code extensions: ["C:\\Users\\KARTHI~1\\AppData\\Local\\Temp\\1gw2NL5Yb2xmPsie1radACGfpv3\\resources\\binaries\\exts\\ms-python.gather.vsix","C:\\Users\\KARTHI~1\\AppData\\Local\\Temp\\1gw2NL5Yb2xmPsie1radACGfpv3\\resources\\binaries\\exts\\ms-python.python.vsix","C:\\Users\\KARTHI~1\\AppData\\Local\\Temp\\1gw2NL5Yb2xmPsie1radACGfpv3\\resources\\binaries\\exts\\vscode-pylance.vsix"] {"timestamp":"2020-09-02T03:48:05.141Z"}
info: Currently installing extension C:\Users\KARTHI~1\AppData\Local\Temp\1gw2NL5Yb2xmPsie1radACGfpv3\resources\binaries\exts\ms-python.python.vsix... {"timestamp":"2020-09-02T03:48:05.142Z"}
verbose: runVSCodeCommand: {"0":"--install-extension","1":"C:\\Users\\KARTHI~1\\AppData\\Local\\Temp\\1gw2NL5Yb2xmPsie1radACGfpv3\\resources\\binaries\\exts\\ms-python.python.vsix","timestamp":"2020-09-02T03:48:05.142Z"}
info: Detecting installed VSCode... {"timestamp":"2020-09-02T03:48:05.143Z"}
verbose: Looking for Code stable x64-user in x64 registry: HKCU\Software\Microsoft\Windows\CurrentVersion\Uninstall\{771FD6B0-FA20-440A-A002-3B3BAC16DC50}_is1 {"timestamp":"2020-09-02T03:48:05.143Z"}
info: Detected installed VSCode: Code stable x64-user is installed. {"timestamp":"2020-09-02T03:48:05.284Z"}
verbose: Installed vscode: {"name":"VSCode","homedir":"C:\\Users\\Karthik Nadig\\AppData\\Local\\Programs\\Microsoft VS Code\\","version":"0","displayVersion":"1.48.2","product":{"kind":"user","arch":"x64","edition":"stable","appId":"{771FD6B0-FA20-440A-A002-3B3BAC16DC50}"},"timestamp":"2020-09-02T03:48:05.284Z"}
verbose: exec: C:\Users\Karthik Nadig\AppData\Local\Programs\Microsoft VS Code\Code.exe {"timestamp":"2020-09-02T03:48:05.284Z"}
verbose: cli: C:\Users\Karthik Nadig\AppData\Local\Programs\Microsoft VS Code\bin\code.cmd {"timestamp":"2020-09-02T03:48:05.285Z"}
info: Installing extensions...
Extension 'ms-python.python.vsix' was successfully installed. {"timestamp":"2020-09-02T03:48:17.871Z"}
info: Successfully installed extension C:\Users\KARTHI~1\AppData\Local\Temp\1gw2NL5Yb2xmPsie1radACGfpv3\resources\binaries\exts\ms-python.python.vsix. {"timestamp":"2020-09-02T03:48:17.871Z"}
info: Currently installing extension C:\Users\KARTHI~1\AppData\Local\Temp\1gw2NL5Yb2xmPsie1radACGfpv3\resources\binaries\exts\ms-python.gather.vsix... {"timestamp":"2020-09-02T03:48:17.880Z"}
verbose: runVSCodeCommand: {"0":"--install-extension","1":"C:\\Users\\KARTHI~1\\AppData\\Local\\Temp\\1gw2NL5Yb2xmPsie1radACGfpv3\\resources\\binaries\\exts\\ms-python.gather.vsix","timestamp":"2020-09-02T03:48:17.880Z"}
info: Detecting installed VSCode... {"timestamp":"2020-09-02T03:48:17.880Z"}
verbose: Looking for Code stable x64-user in x64 registry: HKCU\Software\Microsoft\Windows\CurrentVersion\Uninstall\{771FD6B0-FA20-440A-A002-3B3BAC16DC50}_is1 {"timestamp":"2020-09-02T03:48:17.880Z"}
info: Detected installed VSCode: Code stable x64-user is installed. {"timestamp":"2020-09-02T03:48:17.981Z"}
verbose: Installed vscode: {"name":"VSCode","homedir":"C:\\Users\\Karthik Nadig\\AppData\\Local\\Programs\\Microsoft VS Code\\","version":"0","displayVersion":"1.48.2","product":{"kind":"user","arch":"x64","edition":"stable","appId":"{771FD6B0-FA20-440A-A002-3B3BAC16DC50}"},"timestamp":"2020-09-02T03:48:17.981Z"}
verbose: exec: C:\Users\Karthik Nadig\AppData\Local\Programs\Microsoft VS Code\Code.exe {"timestamp":"2020-09-02T03:48:17.981Z"}
verbose: cli: C:\Users\Karthik Nadig\AppData\Local\Programs\Microsoft VS Code\bin\code.cmd {"timestamp":"2020-09-02T03:48:17.983Z"}
info: Installing extensions...
Extension 'ms-python.gather.vsix' was successfully installed. {"timestamp":"2020-09-02T03:48:19.724Z"}
info: Successfully installed extension C:\Users\KARTHI~1\AppData\Local\Temp\1gw2NL5Yb2xmPsie1radACGfpv3\resources\binaries\exts\ms-python.gather.vsix. {"timestamp":"2020-09-02T03:48:19.725Z"}
info: Currently installing extension C:\Users\KARTHI~1\AppData\Local\Temp\1gw2NL5Yb2xmPsie1radACGfpv3\resources\binaries\exts\vscode-pylance.vsix... {"timestamp":"2020-09-02T03:48:19.736Z"}
verbose: runVSCodeCommand: {"0":"--install-extension","1":"C:\\Users\\KARTHI~1\\AppData\\Local\\Temp\\1gw2NL5Yb2xmPsie1radACGfpv3\\resources\\binaries\\exts\\vscode-pylance.vsix","timestamp":"2020-09-02T03:48:19.737Z"}
info: Detecting installed VSCode... {"timestamp":"2020-09-02T03:48:19.738Z"}
verbose: Looking for Code stable x64-user in x64 registry: HKCU\Software\Microsoft\Windows\CurrentVersion\Uninstall\{771FD6B0-FA20-440A-A002-3B3BAC16DC50}_is1 {"timestamp":"2020-09-02T03:48:19.738Z"}
info: Detected installed VSCode: Code stable x64-user is installed. {"timestamp":"2020-09-02T03:48:19.925Z"}
verbose: Installed vscode: {"name":"VSCode","homedir":"C:\\Users\\Karthik Nadig\\AppData\\Local\\Programs\\Microsoft VS Code\\","version":"0","displayVersion":"1.48.2","product":{"kind":"user","arch":"x64","edition":"stable","appId":"{771FD6B0-FA20-440A-A002-3B3BAC16DC50}"},"timestamp":"2020-09-02T03:48:19.925Z"}
verbose: exec: C:\Users\Karthik Nadig\AppData\Local\Programs\Microsoft VS Code\Code.exe {"timestamp":"2020-09-02T03:48:19.928Z"}
verbose: cli: C:\Users\Karthik Nadig\AppData\Local\Programs\Microsoft VS Code\bin\code.cmd {"timestamp":"2020-09-02T03:48:19.929Z"}
info: Installing extensions...
Extension 'vscode-pylance.vsix' was successfully installed. {"timestamp":"2020-09-02T03:48:32.577Z"}
info: Successfully installed extension C:\Users\KARTHI~1\AppData\Local\Temp\1gw2NL5Yb2xmPsie1radACGfpv3\resources\binaries\exts\vscode-pylance.vsix. {"timestamp":"2020-09-02T03:48:32.577Z"}
info: Finished installing extensions. {"timestamp":"2020-09-02T03:48:32.584Z"}
info: Attempting to write cohort identifier to extension folder at C:\Users\Karthik Nadig\.vscode\extensions\PythonCodingPack... {"timestamp":"2020-09-02T03:48:32.585Z"}
info: Successfully wrote cohort identifier to extension folder at C:\Users\Karthik Nadig\.vscode\extensions\PythonCodingPack. {"timestamp":"2020-09-02T03:48:32.587Z"}
info: Attempting to create starter Python file at C:\Users\Karthik Nadig\Documents\hello.py... {"timestamp":"2020-09-02T03:48:32.588Z"}
info: Successfully created starter Python file. {"timestamp":"2020-09-02T03:48:32.603Z"}
info: Completed installing VS Code and extensions. {"timestamp":"2020-09-02T03:48:32.604Z"}
info: Attempting to install Python and packages... {"timestamp":"2020-09-02T03:48:32.622Z"}
info: Detecting packed Python... {"timestamp":"2020-09-02T03:48:32.622Z"}
info: Detected packed Python at C:\Users\KARTHI~1\AppData\Local\Temp\1gw2NL5Yb2xmPsie1radACGfpv3\resources\binaries\bundled-python.zip {"timestamp":"2020-09-02T03:48:32.630Z"}
info: Attempting to extract Python files from C:\Users\KARTHI~1\AppData\Local\Temp\1gw2NL5Yb2xmPsie1radACGfpv3\resources\binaries\bundled-python.zip... {"timestamp":"2020-09-02T03:48:32.630Z"}
info: Attempting to rename C:\Users\Karthik Nadig\AppData\Local\Programs\PythonCodingPack to C:\Users\Karthik Nadig\AppData\Local\Programs\aoficpobpu... {"timestamp":"2020-09-02T03:48:32.631Z"}
info: Encountered error while attempting to rename and delete existing custom Python directory from C:\Users\Karthik Nadig\AppData\Local\Programs\PythonCodingPack to C:\Users\Karthik Nadig\AppData\Local\Programs\aoficpobpu: Error: ENOENT: no such file or directory, rename 'C:\Users\Karthik Nadig\AppData\Local\Programs\PythonCodingPack' -> 'C:\Users\Karthik Nadig\AppData\Local\Programs\aoficpobpu' {"timestamp":"2020-09-02T03:48:32.631Z"}
info: Successfully extracted Python files to C:\Users\Karthik Nadig\AppData\Local\Programs\PythonCodingPack. Elapsed time to extract Python: 295013ms. {"timestamp":"2020-09-02T03:53:27.645Z"}
info: Writing keys to Windows Registry... {"timestamp":"2020-09-02T03:53:27.649Z"}
error: Encountered error while writing keys to Windows Registry: p: ADD command exited with code 1:

ERROR: Invalid syntax.
Type "REG ADD /?" for usage. {"timestamp":"2020-09-02T03:53:28.095Z"}
verbose: Registry Item: TEMP    REG_EXPAND_SZ   %USERPROFILE%\AppData\Local\Temp {"timestamp":"2020-09-02T03:53:28.229Z"}
verbose: Registry Item: TMP REG_EXPAND_SZ   %USERPROFILE%\AppData\Local\Temp {"timestamp":"2020-09-02T03:53:28.229Z"}
verbose: Registry Item: Path    REG_EXPAND_SZ   C:\Users\Karthik Nadig\.poetry\bin;C:\Users\Karthik Nadig\AppData\Local\Microsoft\WindowsApps;C:\Users\Karthik Nadig\AppData\Roaming\npm;%USERPROFILE%\AppData\Local\Microsoft\WindowsApps;%USERPROFILE%\.dotnet\tools;C:\Users\Karthik Nadig\AppData\Local\Programs\Microsoft VS Code\bin {"timestamp":"2020-09-02T03:53:28.229Z"}
verbose: Registry Item: OneDrive    REG_EXPAND_SZ   C:\Users\Karthik Nadig\OneDrive - Microsoft {"timestamp":"2020-09-02T03:53:28.229Z"}
verbose: Registry Item: OneDriveConsumer    REG_EXPAND_SZ   C:\Users\Karthik Nadig\OneDrive {"timestamp":"2020-09-02T03:53:28.230Z"}
verbose: Registry Item: OneDriveCommercial  REG_EXPAND_SZ   C:\Users\Karthik Nadig\OneDrive - Microsoft {"timestamp":"2020-09-02T03:53:28.230Z"}
info: Attempting to prepend Python to PATH with command: setx PATH C:\Users\Karthik Nadig\AppData\Local\Programs\PythonCodingPack\Scripts;C:\Users\Karthik Nadig\AppData\Local\Programs\PythonCodingPack;C:\Users\Karthik Nadig\.poetry\bin;C:\Users\Karthik Nadig\AppData\Local\Microsoft\WindowsApps;C:\Users\Karthik Nadig\AppData\Roaming\npm;%USERPROFILE%\AppData\Local\Microsoft\WindowsApps;%USERPROFILE%\.dotnet\tools;C:\Users\Karthik Nadig\AppData\Local\Programs\Microsoft VS Code\bin {"timestamp":"2020-09-02T03:53:28.230Z"}
info: 
SUCCESS: Specified value was saved. {"timestamp":"2020-09-02T03:53:28.987Z"}
info: Successfully updated PATH with command: setx PATH C:\Users\Karthik Nadig\AppData\Local\Programs\PythonCodingPack\Scripts;C:\Users\Karthik Nadig\AppData\Local\Programs\PythonCodingPack;C:\Users\Karthik Nadig\.poetry\bin;C:\Users\Karthik Nadig\AppData\Local\Microsoft\WindowsApps;C:\Users\Karthik Nadig\AppData\Roaming\npm;%USERPROFILE%\AppData\Local\Microsoft\WindowsApps;%USERPROFILE%\.dotnet\tools;C:\Users\Karthik Nadig\AppData\Local\Programs\Microsoft VS Code\bin. {"timestamp":"2020-09-02T03:53:28.987Z"}
info: Attempting to update current process's PATH... {"timestamp":"2020-09-02T03:53:28.987Z"}
verbose: Registry Item: ComSpec REG_EXPAND_SZ   %SystemRoot%\system32\cmd.exe {"timestamp":"2020-09-02T03:53:29.047Z"}
verbose: Registry Item: DriverData  REG_SZ  C:\Windows\System32\Drivers\DriverData {"timestamp":"2020-09-02T03:53:29.047Z"}
verbose: Registry Item: OS  REG_SZ  Windows_NT {"timestamp":"2020-09-02T03:53:29.047Z"}
verbose: Registry Item: PATHEXT REG_SZ  .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC {"timestamp":"2020-09-02T03:53:29.047Z"}
verbose: Registry Item: PROCESSOR_ARCHITECTURE  REG_SZ  AMD64 {"timestamp":"2020-09-02T03:53:29.047Z"}
verbose: Registry Item: PSModulePath    REG_EXPAND_SZ   %ProgramFiles%\WindowsPowerShell\Modules;%SystemRoot%\system32\WindowsPowerShell\v1.0\Modules {"timestamp":"2020-09-02T03:53:29.047Z"}
verbose: Registry Item: TEMP    REG_EXPAND_SZ   %SystemRoot%\TEMP {"timestamp":"2020-09-02T03:53:29.047Z"}
verbose: Registry Item: TMP REG_EXPAND_SZ   %SystemRoot%\TEMP {"timestamp":"2020-09-02T03:53:29.047Z"}
verbose: Registry Item: USERNAME    REG_SZ  SYSTEM {"timestamp":"2020-09-02T03:53:29.047Z"}
verbose: Registry Item: windir  REG_EXPAND_SZ   %SystemRoot% {"timestamp":"2020-09-02T03:53:29.047Z"}
verbose: Registry Item: Path    REG_EXPAND_SZ   %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;%SYSTEMROOT%\System32\OpenSSH\;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\PuTTY\;C:\Program Files\nodejs\;C:\Program Files\Docker\Docker\resources\bin;C:\ProgramData\DockerDesktop\version-bin;C:\Program Files\dotnet\ {"timestamp":"2020-09-02T03:53:29.047Z"}
verbose: Registry Item: NUMBER_OF_PROCESSORS    REG_SZ  16 {"timestamp":"2020-09-02T03:53:29.047Z"}
verbose: Registry Item: PROCESSOR_LEVEL REG_SZ  6 {"timestamp":"2020-09-02T03:53:29.047Z"}
verbose: Registry Item: PROCESSOR_IDENTIFIER    REG_SZ  Intel64 Family 6 Model 158 Stepping 13, GenuineIntel {"timestamp":"2020-09-02T03:53:29.047Z"}
verbose: Registry Item: PROCESSOR_REVISION  REG_SZ  9e0d {"timestamp":"2020-09-02T03:53:29.047Z"}
info: User PATH is C:\Users\Karthik Nadig\.poetry\bin;C:\Users\Karthik Nadig\AppData\Local\Microsoft\WindowsApps;C:\Users\Karthik Nadig\AppData\Roaming\npm;%USERPROFILE%\AppData\Local\Microsoft\WindowsApps;%USERPROFILE%\.dotnet\tools;C:\Users\Karthik Nadig\AppData\Local\Programs\Microsoft VS Code\bin. Expanded user path is C:\Users\Karthik Nadig\.poetry\bin;C:\Users\Karthik Nadig\AppData\Local\Microsoft\WindowsApps;C:\Users\Karthik Nadig\AppData\Roaming\npm;C:\Users\Karthik Nadig\AppData\Local\Microsoft\WindowsApps;C:\Users\Karthik Nadig\.dotnet\tools;C:\Users\Karthik Nadig\AppData\Local\Programs\Microsoft VS Code\bin {"timestamp":"2020-09-02T03:53:29.047Z"}
info: System PATH is %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;%SYSTEMROOT%\System32\OpenSSH\;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\PuTTY\;C:\Program Files\nodejs\;C:\Program Files\Docker\Docker\resources\bin;C:\ProgramData\DockerDesktop\version-bin;C:\Program Files\dotnet\. Expanded system path is C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;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\PuTTY\;C:\Program Files\nodejs\;C:\Program Files\Docker\Docker\resources\bin;C:\ProgramData\DockerDesktop\version-bin;C:\Program Files\dotnet\ {"timestamp":"2020-09-02T03:53:29.047Z"}
info: New process PATH is C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;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\PuTTY\;C:\Program Files\nodejs\;C:\Program Files\Docker\Docker\resources\bin;C:\ProgramData\DockerDesktop\version-bin;C:\Program Files\dotnet\;C:\Users\Karthik Nadig\AppData\Local\Programs\PythonCodingPack\Scripts;C:\Users\Karthik Nadig\AppData\Local\Programs\PythonCodingPack;C:\Users\Karthik Nadig\.poetry\bin;C:\Users\Karthik Nadig\AppData\Local\Microsoft\WindowsApps;C:\Users\Karthik Nadig\AppData\Roaming\npm;C:\Users\Karthik Nadig\AppData\Local\Microsoft\WindowsApps;C:\Users\Karthik Nadig\.dotnet\tools;C:\Users\Karthik Nadig\AppData\Local\Programs\Microsoft VS Code\bin {"timestamp":"2020-09-02T03:53:29.047Z"}
info: Attempting to ensure pip is installed with command C:\Users\Karthik Nadig\AppData\Local\Programs\PythonCodingPack\python.exe -m ensurepip --default-pip... {"timestamp":"2020-09-02T03:53:29.047Z"}
info: Looking in links: c:\Users\KARTHI~1\AppData\Local\Temp\tmp7f58enfy
Requirement already satisfied: setuptools in c:\users\karthik nadig\appdata\local\programs\pythoncodingpack\lib\site-packages (47.1.0)
Processing c:\users\karthik nadig\appdata\local\temp\tmp7f58enfy\pip-20.1.1-py2.py3-none-any.whl
Installing collected packages: pip
Successfully installed pip-20.1.1 {"timestamp":"2020-09-02T03:53:46.870Z"}
info:  {"timestamp":"2020-09-02T03:53:46.870Z"}
info: Successfully executed command C:\Users\Karthik Nadig\AppData\Local\Programs\PythonCodingPack\python.exe -m ensurepip --default-pip. {"timestamp":"2020-09-02T03:53:46.870Z"}
info: Completed installing Python and packages. {"timestamp":"2020-09-02T03:53:46.873Z"}
info: Attempting to enable Powershell scripts {"timestamp":"2020-09-02T03:53:46.881Z"}
info: Successfully enabled Powershell scripts {"timestamp":"2020-09-02T03:53:46.925Z"}
karthiknadig commented 4 years ago

Additional logs:

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\SOFTWARE\Python]

[HKEY_CURRENT_USER\SOFTWARE\Python\PythonCodingPack]

[HKEY_CURRENT_USER\SOFTWARE\Python\PythonCodingPack\3.8]
"DisplayName"="PythonCodingPack"
"SysVersion"="3.8.5"
"SysArchitecture"="64bit"
"SupportUrl"="https://github.com/microsoft/coding-pack-for-python"
joyceerhl commented 4 years ago

Got a fix for this (we just needed to add extra, escaped quotes around the value to be set). Thanks a lot @karthiknadig 😊

joyceerhl commented 4 years ago

Closing this issue as I validated my fix with Karthik in the latest build of the installer.