I am trying to install warp-ctc for Pytorch. The installer requires that _cffi_backend to be available in my machine (Ubuntu 16.04). Although I have the file _cffi_backend.cpython-36m-x86_64-linux-gnu.so under my Anaconda (python 3.6.0) site packages, whenever I write the instruction:
import _cffi_backend
I get the following error:
ImportError: /home/bishwajit/anaconda3/lib/python3.6/site-packages/_cffi_backend.cpython-36m-x86_64-linux-gnu.so: undefined symbol: PySlice_AdjustIndices
I browsed a lot and many people have had this problem before. But they were importing torch when this problem occurred. I don’t have any problem importing torch though. The answers said to downgrade the torch version (to 0.1.10) which I did with no effect. Is there any way out?
My current pytorch version is: ‘0.2.0_4’