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 Nguyen via TVM Discuss <no...@discuss.tvm.ai> on 2020/04/02 23:27:57 UTC

[TVM Discuss] [Questions] TVM on windows. Setup.py problem


I tried installing tvm on windows but when I try to use 
python setup.py install --user 
I get the following:
(base) C:\Users\User\Desktop\Incubator-tvm\tvm\python>python setup.py install --user
Traceback (most recent call last):
  File "setup.py", line 61, in <module>
    LIB_LIST, __version__ = get_lib_path()
  File "setup.py", line 49, in get_lib_path
    lib_path = libinfo['find_lib_path']()
  File "./tvm/_ffi/libinfo.py", line 132, in find_lib_path
    raise RuntimeError(message)
RuntimeError: Cannot find the files.

What is the problem here? I also am unsure about whether I installed llvm from source code right.





---
[Visit Topic](https://discuss.tvm.ai/t/tvm-on-windows-setup-py-problem/6194/1) to respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, [click here](https://discuss.tvm.ai/email/unsubscribe/ada163b2f9c17d3a34becd4a948a88c037dde383fdbc11c73f9043247a92e8f7).

[TVM Discuss] [Questions] TVM on windows. Setup.py problem

Posted by Jeremiah Morrill via TVM Discuss <no...@discuss.tvm.ai>.

I have some notes here, but they are a bit dated, and some things were specific to my custom branch.  But it may give you some hints

https://docs.google.com/document/d/1NTcjdmtW00Nnn7SyCDYUA-UXXhEDyGHz650qXsHxXvc/edit?usp=sharing





---
[Visit Topic](https://discuss.tvm.ai/t/tvm-on-windows-setup-py-problem/6194/6) to respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, [click here](https://discuss.tvm.ai/email/unsubscribe/d24a5180bbe64e7bc960d6d22ba5c433480c0dc754a2ee205dec27bd477f30a9).

[TVM Discuss] [Questions] TVM on windows. Setup.py problem

Posted by Nguyen via TVM Discuss <no...@discuss.tvm.ai>.

Hi, sorry for the late reply.

I did try to build from source but I don't actually know whether it worked.
Could you give me a scratch step by step instruction what to do from the beginning?
I think I just try to deinstall everything and do it again





---
[Visit Topic](https://discuss.tvm.ai/t/tvm-on-windows-setup-py-problem/6194/5) to respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, [click here](https://discuss.tvm.ai/email/unsubscribe/9b1ec4a2347dffbf1c6ce26bff49ac693a6983fc16a50b103da0721ac9f478e5).

[TVM Discuss] [Questions] TVM on windows. Setup.py problem

Posted by Jeremiah Morrill via TVM Discuss <no...@discuss.tvm.ai>.

Those are the output files from when you build from source.  They should be in a sub-directory of where the cmake files generated the visual studio project files.

Did you build the C++ code?





---
[Visit Topic](https://discuss.tvm.ai/t/tvm-on-windows-setup-py-problem/6194/4) to respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, [click here](https://discuss.tvm.ai/email/unsubscribe/e6904b171425ba4a50f08536e16f907080234acf162aad1b82ba325e959bc958).

[TVM Discuss] [Questions] TVM on windows. Setup.py problem

Posted by Nguyen via TVM Discuss <no...@discuss.tvm.ai>.

Hi, thanks for the reply.
I somehow don't even see them. How would I get them?





---
[Visit Topic](https://discuss.tvm.ai/t/tvm-on-windows-setup-py-problem/6194/3) to respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, [click here](https://discuss.tvm.ai/email/unsubscribe/e397fab204a44dc986efeabf7bfb6fcb3fcd7d1a407c2732eb7623917fbfba52).

[TVM Discuss] [Questions] TVM on windows. Setup.py problem

Posted by Jeremiah Morrill via TVM Discuss <no...@discuss.tvm.ai>.

Are the TVM dlls (tvm.dll, topi.dll and tvm_runtime.dll) in your PATH environment var?





---
[Visit Topic](https://discuss.tvm.ai/t/tvm-on-windows-setup-py-problem/6194/2) to respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, [click here](https://discuss.tvm.ai/email/unsubscribe/1f346fb8452d5d893fcaa046d7fddd7cd03ef4e34222ceffdba826c6a8098c06).