When installing CLI on W11 Microsoft Windows [Version 10.0.26100.8655] with PowerShell Version : 5.1.26100.8655
******************************************************************************
You have started the OCI CLI Installer in interactive mode. If you do not wish
to run this in interactive mode, please include the -AcceptAllDefaults option.
If you have the script locally and would like to know more about
input options for this script, then you can run:
help .\install.ps1
If you would like to know more about input options for this script, refer to:
https://github.com/oracle/oci-cli/blob/master/scripts/install/README.rst
******************************************************************************
VERBOSE: Python found in registry: HKCU:\Software\Python\PythonCore
VERBOSE: Ignoring stale Python registry entry. Executable does not exist:
C:\Users\OCI-User\Python\Lib\;C:\Users\OCI-User\Python\DLLs\python.exe. Uninstall or repair this Python
installation manually.
VERBOSE: Downloading install script to C:\Users\OCI-User\AppData\Local\Temp\tmpD95E.tmp
VERBOSE: False False
VERBOSE: Using Python executable: C:\Users\OCI-User\Python\python.exe to run install script...
VERBOSE: Arguments to python script: "C:\Users\OCI-User\AppData\Local\Temp\tmpD95E.tmp"
-- Verifying Python version.
-- Python version 3.8.5 okay.
===> In what directory would you like to place the install? (leave blank to use 'C:\Users\OCI-User\lib\oracle-cli'):
-- Install directory 'C:\Users\OCI-User\lib\oracle-cli' is not empty and may contain a previous installation.
===> Remove this directory? (y/N): y
-- Deleted 'C:\Users\OCI-User\lib\oracle-cli'.
-- Creating directory 'C:\Users\OCI-User\lib\oracle-cli'.
-- We will install at 'C:\Users\OCI-User\lib\oracle-cli'.
===> In what directory would you like to place the 'oci.exe' executable? (leave blank to use 'C:\Users\OCI-User\bin'):
-- The executable will be in 'C:\Users\OCI-User\bin'.
===> In what directory would you like to place the OCI scripts? (leave blank to use 'C:\Users\OCI-User\bin\oci-cli-scripts'):
-- The scripts will be in 'C:\Users\OCI-User\bin\oci-cli-scripts'.
===> Currently supported optional packages are: ['db (will install cx_Oracle)']
What optional CLI packages would you like to be installed (comma separated names; press enter if you don't need any optional packages)?:
-- The optional packages installed will be ''.
-- Trying to use python3 venv.
-- Executing: ['C:\\Users\\OCI-User\\Python\\python.exe', '-m', 'venv', 'C:\\Users\\OCI-User\\lib\\oracle-cli']
-- Executing: ['C:\\Users\\OCI-User\\lib\\oracle-cli\\Scripts\\python.exe', '-m', 'pip', 'install', '--upgrade', 'pip']
Collecting pip
Using cached pip-25.0.1-py3-none-any.whl (1.8 MB)
Installing collected packages: pip
Attempting uninstall: pip
Found existing installation: pip 20.1.1
Uninstalling pip-20.1.1:
Successfully uninstalled pip-20.1.1
Successfully installed pip-25.0.1
-- Executing: ['C:\\Users\\OCI-User\\lib\\oracle-cli\\Scripts\\pip', 'install', '--cache-dir', 'C:\\Users\\OCI-User\\AppData\\Local\\Temp\\tmp_8vwm08m', 'wheel', '--upgrade']
Collecting wheel
Downloading wheel-0.45.1-py3-none-any.whl.metadata (2.3 kB)
Downloading wheel-0.45.1-py3-none-any.whl (72 kB)
Installing collected packages: wheel
Successfully installed wheel-0.45.1
-- Executing: ['C:\\Users\\OCI-User\\lib\\oracle-cli\\Scripts\\pip', 'install', '--cache-dir', 'C:\\Users\\OCI-User\\AppData\\Local\\Temp\\tmp_8vwm08m', 'oci_cli', '--upgrade']
Collecting oci_cli
Downloading oci_cli-3.89.0-py3-none-any.whl.metadata (7.4 kB)
Collecting oci==2.181.0 (from oci_cli)
Downloading oci-2.181.0-py3-none-any.whl.metadata (6.2 kB)
Collecting arrow<2.0.0,>=1.0.0 (from oci_cli)
Downloading arrow-1.4.0-py3-none-any.whl.metadata (7.7 kB)
Collecting certifi<2026.0.0,>=2025.1.31 (from oci_cli)
Downloading certifi-2025.11.12-py3-none-any.whl.metadata (2.5 kB)
Collecting click<=8.1.2 (from oci_cli)
Downloading click-8.1.2-py3-none-any.whl.metadata (3.2 kB)
Collecting cryptography<47.0.0,>=3.2.1 (from oci_cli)
Downloading cryptography-46.0.7-cp38-abi3-win_amd64.whl.metadata (5.7 kB)
Collecting jmespath<=1.0.1,>=0.10.0 (from oci_cli)
Downloading jmespath-1.0.1-py3-none-any.whl.metadata (7.6 kB)
Collecting python-dateutil<3.0.0,>=2.5.3 (from oci_cli)
Downloading python_dateutil-2.9.0.post0-py2.py3-none-any.whl.metadata (8.4 kB)
Collecting pytz<=2026.2,>=2016.10 (from oci_cli)
Downloading pytz-2026.2-py2.py3-none-any.whl.metadata (22 kB)
Collecting six<2.0.0,>=1.15.0 (from oci_cli)
Downloading six-1.17.0-py2.py3-none-any.whl.metadata (1.7 kB)
Collecting terminaltables==3.1.10 (from oci_cli)
Downloading terminaltables-3.1.10-py2.py3-none-any.whl.metadata (3.5 kB)
Collecting pyOpenSSL<27.0.0,>=17.5.0 (from oci_cli)
Downloading pyopenssl-26.2.0-py3-none-any.whl.metadata (19 kB)
Collecting PyYAML<=6.0.2,>=5.4 (from oci_cli)
Downloading PyYAML-6.0.2-cp38-cp38-win_amd64.whl.metadata (2.1 kB)
Collecting prompt-toolkit<=3.0.43,>=3.0.38 (from oci_cli)
Downloading prompt_toolkit-3.0.43-py3-none-any.whl.metadata (6.5 kB)
Collecting urllib3==1.26.20 (from oci==2.181.0->oci_cli)
Downloading urllib3-1.26.20-py2.py3-none-any.whl.metadata (50 kB)
Collecting circuitbreaker<3.0.0,>=1.3.1 (from oci==2.181.0->oci_cli)
Downloading circuitbreaker-2.1.3-py3-none-any.whl.metadata (8.0 kB)
Collecting crc32c==2.7.1 (from oci==2.181.0->oci_cli)
Downloading crc32c-2.7.1-cp38-cp38-win_amd64.whl.metadata (7.5 kB)
Collecting backports.zoneinfo==0.2.1 (from arrow<2.0.0,>=1.0.0->oci_cli)
Downloading backports.zoneinfo-0.2.1-cp38-cp38-win_amd64.whl.metadata (4.7 kB)
Collecting colorama (from click<=8.1.2->oci_cli)
Downloading colorama-0.4.6-py2.py3-none-any.whl.metadata (17 kB)
Collecting cffi>=1.14 (from cryptography<47.0.0,>=3.2.1->oci_cli)
Downloading cffi-1.17.1-cp38-cp38-win_amd64.whl.metadata (1.6 kB)
Collecting typing-extensions>=4.13.2 (from cryptography<47.0.0,>=3.2.1->oci_cli)
Downloading typing_extensions-4.13.2-py3-none-any.whl.metadata (3.0 kB)
Collecting wcwidth (from prompt-toolkit<=3.0.43,>=3.0.38->oci_cli)
Downloading wcwidth-0.8.2-py3-none-any.whl.metadata (43 kB)
Collecting pycparser (from cffi>=1.14->cryptography<47.0.0,>=3.2.1->oci_cli)
Downloading pycparser-2.23-py3-none-any.whl.metadata (993 bytes)
Downloading oci_cli-3.89.0-py3-none-any.whl (27.2 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 27.2/27.2 MB 220.8 kB/s eta 0:00:00
Downloading oci-2.181.0-py3-none-any.whl (35.8 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 35.8/35.8 MB 270.7 kB/s eta 0:00:00
Downloading terminaltables-3.1.10-py2.py3-none-any.whl (15 kB)
Downloading crc32c-2.7.1-cp38-cp38-win_amd64.whl (39 kB)
Downloading urllib3-1.26.20-py2.py3-none-any.whl (144 kB)
Downloading arrow-1.4.0-py3-none-any.whl (68 kB)
Downloading backports.zoneinfo-0.2.1-cp38-cp38-win_amd64.whl (38 kB)
Downloading certifi-2025.11.12-py3-none-any.whl (159 kB)
Downloading click-8.1.2-py3-none-any.whl (96 kB)
Downloading cryptography-46.0.7-cp38-abi3-win_amd64.whl (3.5 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.5/3.5 MB 142.7 kB/s eta 0:00:00
Downloading jmespath-1.0.1-py3-none-any.whl (20 kB)
Downloading prompt_toolkit-3.0.43-py3-none-any.whl (386 kB)
Downloading pyopenssl-26.2.0-py3-none-any.whl (55 kB)
Downloading python_dateutil-2.9.0.post0-py2.py3-none-any.whl (229 kB)
Downloading pytz-2026.2-py2.py3-none-any.whl (510 kB)
Downloading PyYAML-6.0.2-cp38-cp38-win_amd64.whl (162 kB)
Downloading six-1.17.0-py2.py3-none-any.whl (11 kB)
Downloading cffi-1.17.1-cp38-cp38-win_amd64.whl (181 kB)
Downloading circuitbreaker-2.1.3-py3-none-any.whl (7.7 kB)
Downloading typing_extensions-4.13.2-py3-none-any.whl (45 kB)
Downloading colorama-0.4.6-py2.py3-none-any.whl (25 kB)
Downloading wcwidth-0.8.2-py3-none-any.whl (323 kB)
Downloading pycparser-2.23-py3-none-any.whl (118 kB)
Installing collected packages: pytz, circuitbreaker, wcwidth, urllib3, typing-extensions, terminaltables, six, PyYAML, pycparser, jmespath, crc32c, colorama, certifi, backports.zoneinfo, python-dateutil, prompt-toolkit, click, cffi, cryptography, arrow, pyOpenSSL, oci, oci_cli
ERROR: Could not install packages due to an OSError: [Errno 2] No such file or directory: 'c:\\users\\OCI-User\\lib\\oracle-cli\\Lib\\site-packages\\oci_cli\\help_text_producer\\data_files\\text\\cmdref\\database-management\\managed-database\\enable-external-container-database-management-feature-external-database-diagnostics-and-management-feature-details.txt'
Traceback (most recent call last):
File "C:\Users\OCI-User\AppData\Local\Temp\tmpD95E.tmp", line 767, in <module>
main()
File "C:\Users\OCI-User\AppData\Local\Temp\tmpD95E.tmp", line 720, in main
install_cli(install_dir, tmp_dir, cli_version, OPTIONAL_FEATURES, dependency_dir)
File "C:\Users\OCI-User\AppData\Local\Temp\tmpD95E.tmp", line 350, in install_cli
exec_command(cmd, env=env)
File "C:\Users\OCI-User\AppData\Local\Temp\tmpD95E.tmp", line 166, in exec_command
subprocess.check_call(command_list, cwd=cwd, env=env)
File "C:\Users\OCI-User\Python\lib\subprocess.py", line 364, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['C:\\Users\\OCI-User\\lib\\oracle-cli\\Scripts\\pip', 'install', '--cache-dir', 'C:\\Users\\OCI-User\\AppData\\Local\\Temp\\tmp_8vwm08m', 'oci_cli', '--upgrade']' returned non-zero exit status 1.
iex ((New-Object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/oracle/oci-cli/master/scripts/
install/install.ps1')) : Executing C:\Users\OCI-User\Python\python.exe "C:\Users\OCI-User\AppData\Local\Temp\tm
pD95E.tmp" returned a non-zero exit code.
At line:457 char:9
+ Write-Error "Executing $PythonExecutable $ArgumentList return ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException
When installing CLI on W11 Microsoft Windows [Version 10.0.26100.8655] with PowerShell Version : 5.1.26100.8655
====
powershell -NoProfile -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/oracle/oci-cli/master/scripts/install/install.ps1'))"