Skip to content

Commit

Permalink
Ensure import works on all Python versions
Browse files Browse the repository at this point in the history
  • Loading branch information
vyasr committed Dec 5, 2023
1 parent cc20ac8 commit 7c7ea76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/cmake/thirdparty/get_arrow.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ find_package(Python 3.9 COMPONENTS Interpreter)
if(${Python_FOUND})
execute_process(
COMMAND "${Python_EXECUTABLE}" -c
"import importlib; print(importlib.util.find_spec('pyarrow') is not None)"
"import importlib.util; print(importlib.util.find_spec('pyarrow') is not None)"
OUTPUT_VARIABLE _pyarrow_installed
OUTPUT_STRIP_TRAILING_WHITESPACE
)
Expand Down

0 comments on commit 7c7ea76

Please sign in to comment.