oci-cli
oci-cli copied to clipboard
windows 11 script ends with fail
ran in powershell with admin permissions
powershell -NoProfile -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/oracle/oci-cli/master/scripts/install/install.ps1'))"
ends with error:
Fatal Python error: init_fs_encoding: failed to get the Python codec of the filesystem encoding
Python runtime state: core initialized
ValueError: source code string cannot contain null bytes
Current thread 0x00001fb8 (most recent call first):
<no Python frame>
iex ((New-Object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/oracle/oci-cli/master/scripts/
install/install.ps1')) : Executing C:\Users\ondre\Python\python.exe "C:\Users\ondre\AppData\Local\Temp\tmp6DC.tmp" retu
rned a non-zero exit code.
At line:454 char:9
+ Write-Error "Executing $PythonExecutable $ArgumentList return ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException