You are viewing a plain text version of this content. The canonical link for it is here.
Posted to discuss-archive@tvm.apache.org by Piupiuisland via Apache TVM Discuss <no...@discuss.tvm.ai> on 2021/08/01 22:27:45 UTC

[Apache TVM Discuss] [Questions] After InstallingTVM was told no module named "tvm"


Hi everyone,


I got some problems when installing TVM.. 

(1) I firstly installed conda env with llvm 12.0, then run the tvm/build/cmake successfully.

![Screenshot from 2021-08-02 00-14-19|690x93](upload://nZnQL4ZNXQ51XG7nfjijjTO0NXv.png) 

(2) Then I tried to install the Python Package. I add the below two lines in .bashrc

***export TVM_HOME=/path/to/tvm***

***export PYTHONPATH=$TVM_HOME/python:${PYTHONPATH}***

(3) Last I did the ***pip3 install --user numpy decorator attrs***

After above steps I ran ***python -c "import tvm"***, but was told  no module named "tvm".

I don't know which part was wrong.. Thanks for your suggestion.





---
[Visit Topic](https://discuss.tvm.apache.org/t/after-installingtvm-was-told-no-module-named-tvm/10674/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/8bd855a27602f6bac9c04c46ace5f3bfdf4ccf860930620180b0374a64d5e55f).