Skip to content

Commit ccda539

Browse files
dd a note about Python 2 support to the error message raised when an
unsupported version is detected.
1 parent b04f538 commit ccda539

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414

1515
# check minimum supported Python version
1616
if sys.version_info[:2] < (3, 5):
17-
raise Exception("Python 3.5 or higher is required.")
17+
raise Exception("Python 3.5 or higher is required. " +
18+
"For python 2, use 'pip install cx_Oracle==7.3'")
1819

1920
# if setuptools is detected, use it to add support for eggs
2021
try:

0 commit comments

Comments
 (0)