- This topic has 3 replies, 2 voices, and was last updated 11 months ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.
Home › Forums › NextFEM Designer support forum › possibility to loading API from IronPython
hi,
currently i’m using IronPython, however some error messages shown as:
IOError: System.IO.FileLoadException: The given assembly name or codebase was invalid. (Exception from HRESULT: 0x80131047)
is this possible to call and loading API trough IronPython instead of Python standard distribution?
regards,
Hello,
IronPython is not officialy supported, however I can suggest trying with IronPython 3.4.1 instead of 2, with .NET Framework.
i updated to the latest versions of IronPython, it seems the library is loaded by changing to “clr.AddReferenceToFileAndPath” commands but some error still shown as:
SystemError: The type initializer for ‘nflib.nflib’ threw an exception.
Hello,
as stated, IronPython is not officially supported.
You can try compiling the script to see if the issue is more clear. Use:
ipyc /main:yourScript.py /target:exe
and then launch the resulting .exe . If it works, it’s an issued on IPy side.