64bits trading technology
Hello, I have installed IronPython version 3.4.1, and when trying to use the tt-net-api.dll library, I get the following message in Visual Studio Code:
SystemError: Could not load file or assembly 'tt-net-api, Version=3.3.0.1, Culture=neutral, PublicKeyToken=39cc95b5bacdf5cf'. This assembly was built for a different processor. I have found that the error may be due to the library being 64-bit, while IronPython is 32-bit.
@valengaro the simple way to fix this is by running the 64-bit version of IronPython 😅
ipy32.exe is 32-bit whereas ipy.exe is the regular modern version.
Hope this helps!
Thanks but i have this issue when i use ipy.exe FileNotFoundError: [Errno 2] Unable to load the file or assembly 'System.Runtime, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the specified file.
Have you installed the .NET Desktop Runtime and SDK?
System.Runtime, Version=5.0.0.0 is an indication that you are trying to use .NET 5 assemblies on .NET Framework. .NET Framework and .NET assemblies are not interchangeable. You'll need a version of the TT.NET.SDK DLL that matches the runtime used by your version of IronPython.