alibaba / alibaba/euler

运行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

Open
#29 11 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
2.9k
Forks
553
PR merge metrics
No merged PRs in 30d

Description

其中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

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the quick-start demo with source-built TensorFlow 1.12 and the pip-installed euler-gl package. Start at tf_euler/python/euler_ops/base.py, where libtf_euler.so is loaded, and inspect the reported undefined symbol and package binary compatibility. Done means the demo imports and runs without the NotFoundError.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, python, tensorflow
Domain
machine-learning
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.