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

sentencepiece_processor_ops.so Not Found #309

Closed
khemon opened this issue Mar 24, 2019 · 5 comments
Closed

sentencepiece_processor_ops.so Not Found #309

khemon opened this issue Mar 24, 2019 · 5 comments

Comments

@khemon
Copy link

khemon commented Mar 24, 2019

I get an error while importing tf_sentencepiece, tensorflow claiming is not able to find the library file : _sentencepiece_processor_ops.so
whereas the path file actually exists..

NotFoundError: [...]\anaconda3\lib\site-packages\tf_sentencepiece_sentencepiece_processor_ops.so

versions:

  • tensorflow version : 1.13
  • tf_sentencepiec: 0.1.3

OS: windows 10

@taku910
Copy link
Collaborator

taku910 commented Mar 24, 2019

This is expected. tf_sentencepiece is not supported on Windows now.

It would be possible to make ops on windows, but it is not that easy.
tensorflow/models#1103

@taku910 taku910 closed this as completed Mar 24, 2019
@YueCongPKU
Copy link

I was in Linux, and encountered the same problem.
tensorflow.python.framework.errors_impl.NotFoundError: /data/users/congyue/anaconda2/envs/python2/lib/python2.7/site-packages/tf_sentencepiece/_sentencepiece_processor_ops.so.1.10.0: undefined symbol: _ZN10tensorflow11GetNodeAttrERKNS_9AttrSliceENS_11StringPieceEPSs

image

Version

  • tensorflow: 1.10.0

  • tf-sentencepiece: 0.1.82
    OS: Ubuntu 14.04.5 LTS

@YueCongPKU
Copy link

and I upgraded tensorflow's version to 1.13.1, and the problem still exists.
How may I fix it? @taku910

@Yusifu
Copy link

Yusifu commented Jul 17, 2019

and I upgraded tensorflow's version to 1.13.1, and the problem still exists.
How may I fix it? @taku910

@YueCongPKU
Have you fix it?
I encountered the same problem.

@RogerChu8
Copy link

I encounter the same problem with error message:

dlopen(/Users/...../site-packages/tf_sentencepiece/_sentencepiece_processor_ops.so.so.2.0.0, 6): image not found

Version installed within virtualenv:

  • TensorFlow: 2.1.0
  • tf-sentencepiece 0.1.85

OS: MacOS 10.15.2

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

5 participants