[ https://issues.apache.org/jira/browse/ARROW-2940?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brian Hulette updated ARROW-2940: --------------------------------- Fix Version/s: (was: JS-0.4.0) 0.10.0 > [Python] Import error with pytorch 0.3 > -------------------------------------- > > Key: ARROW-2940 > URL: https://issues.apache.org/jira/browse/ARROW-2940 > Project: Apache Arrow > Issue Type: Bug > Reporter: Philipp Moritz > Priority: Major > Labels: pull-request-available > Fix For: 0.10.0 > > Time Spent: 50m > Remaining Estimate: 0h > > The fix in ARROW-2920 doesn't work in versions strictly before pytorch 0.4: > {code:java} > >>> import pyarrow > Traceback (most recent call last): > File "<stdin>", line 1, in <module> > File "/home/ubuntu/arrow/python/pyarrow/__init__.py", line 57, in <module> > compat.import_pytorch_extension() > File "/home/ubuntu/arrow/python/pyarrow/compat.py", line 249, in > import_pytorch_extension > ctypes.CDLL(os.path.join(path, "lib/libcaffe2.so")) > File > "/home/ubuntu/anaconda3/envs/breaking-env2/lib/python3.5/ctypes/__init__.py", > line 351, in __init__ > self._handle = _dlopen(self._name, mode) > OSError: > /home/ubuntu/anaconda3/envs/breaking-env2/lib/python3.5/site-packages/torch/lib/libcaffe2.so: > cannot open shared object file: No such file or directory{code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)