-Oracle Cloud Infrastructure (OCI) provides a comprehensive CLI, the *oci* command, written in Python as is true of many recent system tools. The CLI and the underlying Python SDK are very portable, but have some dependencies on other Python modules at particular versions, so can be somewhat complex to install on any particular OS platform. Fortunately, Python has a powerful module known as [*virtualenv*](https://virtualenv.pypa.io/en/latest/) that makes it fairly simple to install and run a Python application and its dependencies in isolation from other Python programs that may have conflicting requirements. This is especially an issue with modern enterprise operating systems such as Solaris, which use Python for system tools and don't necessarily update all of their modules as quickly as the cloud SDK's require. OCI makes use of virtualenv to provide an easy installation setup for any Unix-like operating system, including [Solaris 11.4](https://www.oracle.com/technetwork/server-storage/solaris11/overview/index.html). There are just a couple of extra things we need to do in order for it to work on Solaris. The first thing to know is whether you're installing on a recent Solaris 11.4 SRU with Python 3.7 installed, as the process is slightly easier. The easiest way to find this out is with the `pkg mediator` command, like so:
0 commit comments