Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import error: libtorch_cpu.so: cannot open shared object file: No such file or directory #187

Open
scfang opened this issue Mar 9, 2021 · 0 comments

Comments

@scfang
Copy link

scfang commented Mar 9, 2021

Hello, I've been trying to install warp-ctc and getting the package to import in my environment, but I constantly run into this error:

>>> import warpctc_pytorch
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/ubuntu/anaconda3/envs/pytorch_latest_p37/lib/python3.7/site-packages/warpctc_pytorch-0.1-py3.7-linux-x86_64.egg/warpctc_pytorch/__init__.py", line 6, in <module>
    from ._warp_ctc import *  # noqa
ImportError: libtorch_cpu.so: cannot open shared object file: No such file or directory

I'm currently using Pytorch 1.4.0, but I've tried running this on 1.6.0 as well, but I think I ran into a different issue.
On switching Pytorch versions, I've tried rebuilding the project and reinstalling as instructed in the readme, but I have had no luck getting the import to work. Any help would be appreciated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant