I've had to put cx_Oracle (python Oracle database connector) on macOS and Linux, and both processes were similar but poorly documented on Oracle's website.
These instructions were written and tested using the client 12.1. The instructions for any 12.x are the same, but you may need to change 12_1
to 12_2
in commands if you are using version 12.2, etc.
- Download 64 bit (easy to download 32 by mistake) basic + sdk instantclient from Oracle website (Note: you need an account, I used throwaway email)