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 d9b8c61 commit d89d12dCopy full SHA for d89d12d
ed_sensor_integration/CMakeLists.txt
@@ -6,7 +6,7 @@ add_compile_options(-Wextra -Werror=extra)
6
7
find_package (Python COMPONENTS Interpreter REQUIRED)
8
execute_process(
9
- COMMAND ${PYTHON_EXECUTABLE} -c "import torch; print(torch.__path__[0])"
+ COMMAND ${PYTHON_EXECUTABLE} -c "import torch; from sys import stderr; print(torch.__path__[0]); print(f'{torch.__path__[0]}=', file=stderr)"
10
OUTPUT_VARIABLE TORCH_LIBRARY_PATH
11
OUTPUT_STRIP_TRAILING_WHITESPACE
12
)
0 commit comments