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.
like:

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

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

File “xxxxxxxx/tvm/nnvm/python/nnvm/testing/yolo2_detection.py”, 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 https://stackoverflow.com/questions/32444822/importerror-no-module-named-decorator-in-google-app-engine
sudo python3.5 -m pip install decorator
and now it works.