Skip to content

Commit 69e1afb

Browse files
Improve documentation for installing cx_Oracle.
1 parent 6b412a0 commit 69e1afb

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

doc/src/installation.rst

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ Instant Client, you should not set ``ORACLE_HOME``.
2525
Install Using Pip
2626
=================
2727

28+
Pip is the generic tool for installing Python packages. If you do not have pip,
29+
see the `pip installation documentation
30+
<http://pip.readthedocs.io/en/latest/installing/>`__.
31+
2832
The command to install the current Release Candidate of cx_Oracle 6 using pip
2933
on all platforms is::
3034

@@ -35,10 +39,14 @@ and architecture automatically, if one is available. Pre-compiled binaries are
3539
available for Windows and Linux.
3640

3741
If a pre-compiled binary is not available, the source will be
38-
downloaded, compiled and the resulting binary installed. On macOS,
39-
make you are not using the bundled Python - use `Homebrew
40-
<https://brew.sh>`__ or `Python.org
41-
<https://www.python.org/downloads>`__ instead.
42+
downloaded, compiled, and the resulting binary installed. On Linux if
43+
cx_Oracle needs to be compiled for the default python package, you
44+
will need the ``python-devel`` package or equivalent, which provides
45+
the `Python.h` header file.
46+
47+
On macOS make sure you are not using the bundled Python - use `Homebrew
48+
<https://brew.sh>`__ or `Python.org <https://www.python.org/downloads>`__
49+
instead.
4250

4351

4452
Install Using GitHub

0 commit comments

Comments
 (0)