locked
Tools For AI - import torch gets "DLL load failed" error RRS feed

  • Question

  • Hello,

    I have installed the Tools For AI extension in Visual Studio, and I am trying to connect my Python Web App to Pytorch. However, although intellisense finds "torch" and "torch.nn" and "torchvision", when I try running my app, I get a DLL load failed error. I see that this seems to be a known issue and I have tried the solutions suggested here https://github.com/pytorch/pytorch/issues/4518 but to no avail. Any ideas to help me get this going would be appreciated. Thanks!

    Tuesday, January 8, 2019 7:45 AM

All replies

  • Hi Lane95,

    Thank you for posting here.

    Since your question is more related to Python, you could post a new thread in StackOverFlow.

    https://stackoverflow.com/questions/tagged/python

    The CLR Forum discuss and ask questions about .NET Framework Base Classes (BCL) such as Collections, I/O, Regigistry, Globalization, Reflection. Also discuss all the other Microsoft libraries that are built on or extend the .NET Framework, including Managed Extensibility Framework (MEF), Charting Controls, CardSpace, Windows Identity Foundation (WIF), Point of Sale (POS), Transactions.

    Best Regards,

    Wendy


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Wednesday, January 9, 2019 8:15 AM
  • Wendy, 

    Thank you for replying. This is a known Microsoft issue, not a Python issue. I apologize for posting in the wrong Microsoft forum. None of the options seemed to fit what I needed. Which MSDN forum would you recommend posting in?

    Wednesday, January 9, 2019 8:22 AM