ImportError: cannot import name 'te'

Hello, I am new to tvm. I compiled tvm from latest version github today. With both “from_tensorflow” and “from_keras”, the 2 tutorial notebooks have this error:

ImportError: cannot import name ‘te’

Should I add some missing library? Is this related to NNPack contributions?


Did you follow the steps from

If not you may have not set TVM_HOME and PYTHONPATH environment variables.

Exactly !!! the PATH was wrong. I’ve fixed it. Better now :slight_smile: