From 5f0cafa5ae000f9355cbf567cd5bfb00032829a6 Mon Sep 17 00:00:00 2001 From: Philipp Moritz Date: Thu, 26 Jul 2018 17:31:32 -0700 Subject: [PATCH] fix --- python/pyarrow/compat.py | 1 + 1 file changed, 1 insertion(+) diff --git a/python/pyarrow/compat.py b/python/pyarrow/compat.py index 32140829881c9..44e156e676bc0 100644 --- a/python/pyarrow/compat.py +++ b/python/pyarrow/compat.py @@ -243,6 +243,7 @@ def import_pytorch_extension(): https://issues.apache.org/jira/browse/ARROW-2920 """ import ctypes + import os for path in _iterate_python_module_paths("torch"): ctypes.CDLL(os.path.join(path, "lib/libcaffe2.so"))