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 30c4c0f commit 1752c8dCopy full SHA for 1752c8d
python/pyarrow/__init__.py
@@ -431,6 +431,13 @@ 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
436
+ if _os.environ.get('CONDA_PREFIX'):
437
+ prefix = _os.environ['CONDA_PREFIX']
438
+ append_library_dir(_os.path.join(prefix, 'Library', 'bin'))
439
+ append_library_dir(_os.path.join(prefix, 'Library', 'lib'))
440
+
441
# ARROW-4074: Allow for ARROW_HOME to be set to some other directory
442
if _os.environ.get('ARROW_HOME'):
443
append_library_dir(_os.path.join(_os.environ['ARROW_HOME'], 'lib'))
0 commit comments