Skip to content

A problem in installation,need help #521

Description

@snack11

OS:ubuntu 16.04
llvm4.0(pre-built version)

>>> import tvm
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/snack/workspace/tvm/tvm/python/tvm/__init__.py", line 5, in <module>
    from . import tensor
  File "/home/snack/workspace/tvm/tvm/python/tvm/tensor.py", line 4, in <module>
    from ._ffi.node import NodeBase, NodeGeneric, register_node, convert_to_node
  File "/home/snack/workspace/tvm/tvm/python/tvm/_ffi/node.py", line 8, in <module>
    from .node_generic import NodeGeneric, convert_to_node, const
  File "/home/snack/workspace/tvm/tvm/python/tvm/_ffi/node_generic.py", line 7, in <module>
    from .base import string_types
  File "/home/snack/workspace/tvm/tvm/python/tvm/_ffi/base.py", line 43, in <module>
    _LIB, _LIB_NAME = _load_lib()
  File "/home/snack/workspace/tvm/tvm/python/tvm/_ffi/base.py", line 35, in _load_lib
    lib = ctypes.CDLL(lib_path[0], ctypes.RTLD_GLOBAL)
  File "/usr/lib/python2.7/ctypes/__init__.py", line 362, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: /home/snack/workspace/tvm/tvm/lib/libtvm.so: undefined symbol: _ZN4llvm3sys22getDefaultTargetTripleEv

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions