cornell-zhang / heterocl

HeteroCL: A Multi-Paradigm Programming Infrastructure for Software-Defined Heterogeneous Computing
https://cornell-zhang.github.io/heterocl/
Apache License 2.0
322 stars 92 forks source link

" python hlib/tests/test_extern_ip.py " cann't work. #190

Closed YongLeeee closed 4 years ago

YongLeeee commented 4 years ago

Working on the v0.3 branch with python3.6.

Traceback (most recent call last): File "hlib/tests/test_extern_ip.py", line 4, in import hlib File "/home/yl924/git/heterocl/hlib/python/hlib/init.py", line 3, in from . import frontend File "/home/yl924/git/heterocl/hlib/python/hlib/frontend/init.py", line 1, in from . import relay_parser File "/home/yl924/git/heterocl/hlib/python/hlib/frontend/relay_parser.py", line 1, in import tvm ModuleNotFoundError: No module named 'tvm'

seanlatias commented 4 years ago

For now, you can just comment out the from . import relay_parser. Otherwise, you need to install tvm.

YongLeeee commented 4 years ago

It's the solution.