Python 32 bit version support

Hi, I have in issue related to 32bit.
I like to make use of a 32 bit Python version, since one of my Python libraries rely on a 32 bit Windows DLL.
However it seems that OpenTap does not recognize this version. Even when I set my Pythonpath to C:\Python38-32 the logging still shows:

15:47:50.073 Python PYTHONPATH:
15:47:50.073 Python PYTHONHOME:
15:47:50.074 Python PythonEngine.PythonPath: C:\Python311\python311.zip;C:\Python311\DLLs;C:\Python311\Lib;L:\Data\Testing\OpenTAP\OpenTAP
15:47:50.074 Python PythonEngine.PythonPath: C:\Python311

It seems that the python path is ignored in case of a 32 bit python version.
Can someone tell if 32 Bit is supported? Or is it required to install a 32 bit version of the Python package? or 32 bit version of Opentap?

I’m fairly certain you would need a 32-bit version of OpenTAP.

Python package is AnyCPU, so should work with either 32-bit or 64-bit

I tried to install the 32 bit x86 package, however it seems that 64 bit Windows versions do not support the 32 bit OpenTAP versions. I got next error:

Selected package OpenTAP for Windows, x86 is incompatible with the host platform Windows, x64.

There is also no 32 bit OpenTAP installer available, only the tappackage.
Do you have any idea to get 32 bit python support within OpenTAP on a 64 bit Windows machine?

How are you installing the core OpenTAP:

  • KS8400 installer?
  • Community Edition installer?
  • opentap.io download?

To install the 32 bit Opentap version, I downloaded the latest opentap 32 bit tappackage from GIT, afterwards I opened this file with the existing package manager , previously installed by the Editor CE package installation. This existing Editor CE package was installed in the 64 OpenTap environment. That might be an issue.
I didn’t find a way to install a 32 bit OpenTap version from scratch in a Windows environment. since there is no installer available.
Thank you for the help.

Hi @e.huijben,

Currently there is no OpenTAP installer for 32bit windows.

Maintaining an installer does cost an overhead and we were not sure to what extent people actually depends on 32bit.

If it is something you need, I suggest you write a comment on the github issue tracker for example here: 32-bit installer for OpenTAP · Issue #32 · opentap/opentap · GitHub

Please add information about why you need it. Usually its because of 32bit native dependencies, but we’d like to understand it in any case.

Until then, you can still get a 32bit deployment:

tap image install --target ..\32bittap2 "OpenTAP:9.26,Python" --architecture x86

This will create a 32bit installation in the target folder.

Thank you,
Indeed, I rely on a 32 bit native DLL.
Now I am able to install a 32 bit version of OpenTAP with the deployment you mentioned, however it seems that there is no 32 bit version of “Editor CE” Is available. If there is an easly solution to generate a 32 bit editor tappackage, let me know.
In the meanwhile I will check if it is possible to make a wrapper around this 32 bit dll, to make it possible to call it from 64 bit Python versions.