First off, the `test_program_rpc.py` script has to be run on your host machine, 
not on the PYNQ board.

Citing the documentation:

> `# On the Host-side`
> `python <tvm root>/vta/tests/python/pynq/test_program_rpc.py`

The error `No module named tvm` is probably because of a wrong `PYTHONPATH`. 
Make sure that the `PYTHONPATH` on you PYNQ board contains 
`/home/xilinx/tvm/python`. You can check this with `echo $PYTHONPATH`. If it 
doesn't contain the above mentioned path, put `export 
PYTHONPATH=$HOME/tvm/python:$HOME/tvm/vta/python:$PYTHONPATH` in `~/.bashrc` 
and source it.





---
[Visit 
Topic](http://tracking.discuss.tvm.ai/tracking/click?d=6uNtcgAkQX9AGzo9JhXMudGaAE7xbnq8vXslt-W7CDX-VkC4NL8eBo7f0fKNs1Xzb8tu41sy-iOc0u2rnEyyd5LXC5JZ_rnV9RXcB1noBWPEyRO5sU0MrZ6MG-VrZeJIlHPb3_8twyv5exnXafdb-W4mKkrUDQPvQpBCPtSpAA07sCP1gklVcFkCh5B-0bFPFUHi2Q9Vf36Sn6dABPYOLjs1)
 to respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, [click 
here](http://tracking.discuss.tvm.ai/tracking/click?d=7cFgOaAA4XIBVlVKt_oyC07uihTjg4Q6cjeBRNRTiPqStckdoaKSEcoXRBR0kFI-1QqX00IcLRQ87Giuv0VLp4ANnhUBawyBNgwA1G-fKk8t_FkwPwSp2sEcxivsv0s67xjLI9H_m3tGJ1aQZhRTMpge2xEhrdit4XjP-ap7_kZLfFEnufSlWS_oTDvf5rcHUs7yR_0PS2rcxfrXKaofdyII7gzRdIYNOvogwsPj41AS0).

Tianqi Chen, UW, Seattle, WA, 98105, United States
http://tracking.discuss.tvm.ai/tracking/unsubscribe?msgid=eautAoRP7byADnNfJbZurw2

Reply via email to