Skip to content Skip to sidebar Skip to footer

Python For .net Error: Importerror: No Module Named

We are using Python for .Net to call .NET API built using C# from Python script. We are getting ImportError: No module named - error when an import is done as follows. Python scrip

Solution 1:

With help from python forum I was able to use Microsoft's Fuslogvw.exe (Assembly Binding Log Viewer) and figure out the dependent dll causing the error.

Thanks

Solution 2:

Here is a link to my original answer:

https://mail.python.org/pipermail/pythondotnet/2014-December/001626.html

I recommend using Assembly Binding Log Viewer (fuslogvw.exe) for corresponding .NET framework to see the log files of loading assemblies.

Set Log Location as Custom and in Settings point to your assemblies folder. The log should show the sequence of DLLs being loaded and any errors.

This worked for me, see here:

Could not load file or assembly or one of its dependencies

Can't locate fuslogvw.exe on my machine

Post a Comment for "Python For .net Error: Importerror: No Module Named"