Commit 65c0b326 authored by Yuxin Wu's avatar Yuxin Wu

fix build

parent f63e0ee4
......@@ -49,6 +49,8 @@ try:
# So we need an option to disable it.
if os.environ.get('TENSORPACK_SERIALIZE', 'pyarrow') == 'pyarrow':
import pyarrow as pa
else:
pa = None
except ImportError:
pa = None
dumps_pyarrow = create_dummy_func('dumps_pyarrow', ['pyarrow']) # noqa
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment