@@ -157,7 +157,8 @@ additional tools to build from source code:
157
157
` python --version ` to find the version you have.
158
158
159
159
If another version of Python occurs first in your binary path then,
160
- when you install node-oracledb, use the ` --python ` option to
160
+ when you install node-oracledb, then run `npm config set python
161
+ /wherever/python-2.7/bin/python` or use the ` --python` option to
161
162
indicate the correct version. For example: `npm install
162
163
--python=/wherever/python-2.7/bin/python oracledb`.
163
164
@@ -179,7 +180,8 @@ If source code is being compiled you need:
179
180
4.7 or later] [ 5 ] or upgrade to Oracle Linux 7.
180
181
181
182
- Python 2.7 for node-gyp. If another version of Python occurs first
182
- in your binary path then, when you install node-oracledb, use the
183
+ in your binary path then, when you install node-oracledb, then run
184
+ ` npm config set python /wherever/python-2.7/bin/python ` or use the
183
185
` --python ` option to indicate the correct version. For example:
184
186
` npm install --python=/whereever/python-2.7/bin/python oracledb ` .
185
187
@@ -334,7 +336,8 @@ If source code is being compiled you need:
334
336
4.7 or later] [ 5 ] or upgrade to Oracle Linux 7.
335
337
336
338
- Python 2.7 for node-gyp. If another version of Python occurs first
337
- in your binary path then, when you install node-oracledb, use the
339
+ in your binary path then, when you install node-oracledb, then run
340
+ ` npm config set python /wherever/python-2.7/bin/python ` or use the
338
341
` --python ` option to indicate the correct version. For example:
339
342
` npm install --python=/whereever/python-2.7/bin/python oracledb ` .
340
343
@@ -490,7 +493,8 @@ If source code is being compiled you need:
490
493
4.7 or later] [ 5 ] or upgrade to Oracle Linux 7.
491
494
492
495
- Python 2.7 for node-gyp. If another version of Python occurs first
493
- in your binary path then, when you install node-oracledb, use the
496
+ in your binary path then, when you install node-oracledb, then run
497
+ ` npm config set python /wherever/python-2.7/bin/python ` or use the
494
498
` --python ` option to indicate the correct version. For example:
495
499
` npm install --python=/whereever/python-2.7/bin/python oracledb ` .
496
500
0 commit comments