Troubleshooting the CLI
This topic describes how to resolve issues that you might encounter when installing Python or the CLI, or when using the CLI.
Any operation resulting in a service error causes an error of type "ServiceError" to be returned by the CLI. For information about common service errors that Oracle Cloud Infrastructure returns, see API Errors.
Oracle Linux Permissions Issues
On Oracle Linux 7.3, if you encounter permission issues when running
pip install, you
might need to use
oci Command Not Found
oci command isn't found, this can be caused by one of the following reasons:
- pip installed the package to a different virtual environment than your active one.
- You switched to a different active virtual environment after you installed the CLI.
To determine where the CLI is installed, run the
which pip and
which oci commands.
Wheel File Won't Install
If the wheel file won't install, verify that pip is up to date. To update pip, run the
pip install -U pip command. Try to install the wheel again.
oci command isn't found, make sure that the
oci.exe location is in your path (for example, the
Scripts directory in your Python installation).
If you want to contribute ideas, report a bug, get notified about updates, have questions, or want to give feedback, use one of the following links.
Got a fix for a bug, or a new feature you'd like to contribute? The CLI is open source and accepting pull requests on GitHub.
To be notified when a new version of the CLI is released, subscribe to the Atom feed.
Questions or Feedback
Ways to get in touch: