Dependence decorate and Pillow package


Hi I’m a beginner with TVM, during my installition I found tvm need install python decorate package and nnvm.testing used Pillow package.
These dependence is not mentioned in document. And some error info seems not easy to understande.

File “xxxxxx/tvm/python/tvm/”, line 5, in
from . import tensor
ImportError: cannot import name tensor

File “xxxxxxx/tvm/python/tvm/”, line 17, in
from . import target
File “xxxxxxx/tvm/python/tvm/”, line 54, in
raise err_msg
ImportError: No module named decorator

File “xxxxxxxx/tvm/nnvm/python/nnvm/testing/”, line 13, in
from PIL import Image
ImportError: No module named PIL

My TVM version is v0.4, installl from source.
Python version is Python 2.7.15.


I get the same error with Python 3.5
I did install decorator


I used the suggestion from
sudo python3.5 -m pip install decorator
and now it works.