-
Notifications
You must be signed in to change notification settings - Fork 559
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
运行demo时报如下错误:tensorflow.python.framework.errors_impl.NotFoundError: /usr/local/lib/python2.7/dist-packages/tf_euler/python/euler_ops/libtf_euler.so: undefined symbol: _ZN10tensorflow12OpDefBuilder4AttrESs #29
Comments
我们的pip包是基于TF官方的版本来编译的。怀疑是有二进制不兼容的问题。 您试试基于TF的pip包来实验一下? 或者基于你的TF来编译Euler安装。 |
我先试试编译安装下euler吧 |
@hyspe3800 上述问题解决了吗? |
还没有,网络特别慢,git clone时third party一直失败。。。 |
hyspe3800 我这面尝试删除了以前的TF环境,然后重新使用pip安装euler可以使用 |
编译安装之后还是出现了相同的错误 |
@hyspe3800 旧的euler-gl删除了吗? |
我也遇到了同样的问题,我是通过conda安装的tensorflow |
@Xiariyouhu 通过conda安装的tensorflow是1.12吗?如果不是的话,需要从源码编译euler。 |
通过conda安装的是1.12,我卸载后用pip重新安装tf,然后编译euler后可以跑了 |
@Xiariyouhu 请问pip重新安装是gpu版本的tf吗?我重装了cpu版的tf可以跑通,但是gpu版本的还是不行 |
其中tensorflow是源码安装的1.12,euler-gl是pip安装的,运行快速开始的demo时报了如下错误:
Traceback (most recent call last):
File "/usr/lib/python2.7/runpy.py", line 163, in _run_module_as_main
mod_name, _Error)
File "/usr/lib/python2.7/runpy.py", line 111, in _get_module_details
import(mod_name) # Do not catch exceptions initializing package
File "/usr/local/lib/python2.7/dist-packages/tf_euler/init.py", line 21, in
from tf_euler.python import encoders
File "/usr/local/lib/python2.7/dist-packages/tf_euler/python/encoders.py", line 24, in
from tf_euler.python import euler_ops
File "/usr/local/lib/python2.7/dist-packages/tf_euler/python/euler_ops/init.py", line 20, in
from tf_euler.python.euler_ops.base import *
File "/usr/local/lib/python2.7/dist-packages/tf_euler/python/euler_ops/base.py", line 31, in
_LIB_OP = tf.load_op_library(_LIB_PATH)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/load_library.py", line 60, in load_op_library
lib_handle = py_tf.TF_LoadLibrary(library_filename)
tensorflow.python.framework.errors_impl.NotFoundError: /usr/local/lib/python2.7/dist-packages/tf_euler/python/euler_ops/libtf_euler.so: undefined symbol: _ZN10tensorflow12OpDefBuilder4AttrESs
The text was updated successfully, but these errors were encountered: