R:\src\tools\Swig>python --version
Python 2.7.13
Somewhat similar to "No module named '_<module>'" when importing a SWIG module with embedded Python
The SWIG wrapper looks sensible and I have a DLL with the same name as the wrapper in the test folder.
When I try and run a script with import TestDevice
Python gives me a stack trace like so:
`R:\src\tools\Swig>python test.py
Traceback (most recent call last):
File "test.py", line 2, in <module>
import TestDevice
File "R:\src\tools\Swig\TestDevice.py", line 28, in <module>
_TestDevice = swig_import_helper()
File "R:\src\tools\Swig\TestDevice.py", line 20, in swig_import_helper
import _TestDevice
ImportError: No module named _TestDevice`
A .pyc file being being created but that's about as I far as I get. Any thoughts? The 32 bit DLL is built with VS2015Pro and the static multi-threaded runtime as the module will eventually spin up a threadpool.
TAIA.