We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a3f6707 commit 99ea49dCopy full SHA for 99ea49d
python/pyarrow/__init__.py
@@ -431,6 +431,14 @@ def append_library_dir(library_dir):
431
if _os.path.exists(pyarrow_libs_dir):
432
append_library_dir(pyarrow_libs_dir)
433
434
+ # Source installations on Windows into a conda environment need to
435
+ # expose the appropriate conda directories that Arrow C++ installs
436
+ # to by default
437
+ if _os.environ.get('CONDA_PREFIX'):
438
+ prefix = _os.environ['CONDA_PREFIX']
439
+ append_library_dir(_os.path.join(prefix, 'bin'))
440
+ append_library_dir(_os.path.join(prefix, 'Lib'))
441
+
442
# ARROW-4074: Allow for ARROW_HOME to be set to some other directory
443
if _os.environ.get('ARROW_HOME'):
444
append_library_dir(_os.path.join(_os.environ['ARROW_HOME'], 'lib'))
0 commit comments