Closed dburianov closed 4 months ago
This is an issue in OS - Maximum Path Length Limitation issue and not a CLI installation issue There should be steps to enable the max path length similar to Windows as below https://pip.pypa.io/warnings/enable-long-paths Can you please check and try installing ?
Please refer to the link for OS and supported Python versions for CLI https://docs.oracle.com/en-us/iaas/Content/API/Concepts/cliconcepts.htm
Please reopen the issue if issue is not solved or you have more questions, Thanks!
One simple workaround is to get rid of man files. Just head over https://github.com/oracle/oci-cli/releases, then:
.whl
archiveoci_cli/help_text_producer/data_files/man
contentpip install oci_cli-*-py2.py3-none-any.whl
One simple workaround is to get rid of man files. Just head over https://github.com/oracle/oci-cli/releases, then:
- download the latest one
- open the
.whl
archive- remove the
oci_cli/help_text_producer/data_files/man
content- execute
pip install oci_cli-*-py2.py3-none-any.whl
this worked for me. I have analyst-level knowledge on this sort of thing, but I omitted /man/ files from namelist() then extracted that subset to the top of my drive to avoid further long path errors.
One simple workaround is to get rid of man files. Just head over https://github.com/oracle/oci-cli/releases, then:
- download the latest one
- open the
.whl
archive- remove the
oci_cli/help_text_producer/data_files/man
content- execute
pip install oci_cli-*-py2.py3-none-any.whl
Thanks for the tip; here’s the command I used to remove the man pages (Linux):
zip -d oci_cli-3.49.3-py3-none-any.whl 'oci_cli/help_text_producer/data_files/man/*'
Since a wheel is a zipfile you can work on it directly without unpacking it.
Hello I have problem with install oci cli on Ubuntu 24.04
Error:
My OS:
My kernel and arch:
Full listing: