hello:
when i use python "import tvm" it's some error:

  File "<string>", line 1, in <module>
    import tvm; print(tvm.base._LIB)
    ^^^^^^^^^^
  File "/home/ll/tvm/python/tvm/__init__.py", line 24, in <module>
    from tvm_ffi import register_object, register_global_func, get_global_func
  File "/home/ll/tvm/3rdparty/tvm-ffi/python/tvm_ffi/__init__.py", line 38, in 
<module>
    from .registry import (
    ...<6 lines>...
    )
  File "/home/ll/tvm/3rdparty/tvm-ffi/python/tvm_ffi/registry.py", line 25, in 
<module>
    from . import core
ImportError: cannot import name 'core' from partially initialized module 
'tvm_ffi' (most likely due to a circular import) 
(/home/ll/tvm/3rdparty/tvm-ffi/python/tvm_ffi/__init__.py)


i just do as "install from source" 
https://tvm.apache.org/docs/install/from_source.html#install-from-source, i 
do'nt know what happened and how to cover this trouble.





---
[Visit 
Topic](https://discuss.tvm.apache.org/t/import-tvm-error-when-initialized-module-tvm-ffi-most-likely-due-to-a-circular-import/18892/1)
 to respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, [click 
here](https://discuss.tvm.apache.org/email/unsubscribe/73ae1eb281eac3c22f211e1e4669861f74c149e7ee5a156332bdd27210204561).

Reply via email to