Installing winIDEA SDK for Python
In this topic:
•Snap
winIDEA containerized installation already provides the supported Python version with dependent modules for running winIDEA SDK.
When running winIDEA SDK, use Python binaries from the container and not from the host OS. |
Open a winIDEA instance and connect to it.
Example output:
$ winidea.bash -c "python" Python 3.10.12 (main, Mar 22 2024, 16:50:05) [GCC 11.4.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import isystem.connect as ic >>> ic.getModuleVersion() '9.21.258.0' >>> cmgr = ic.ConnectionMgr() >>> cmgr.connect() >>> cmgr.isAttached() True |
Open a winIDEA instance and connect to it.
Example output:
$ ./docker-winidea run --cmd="python" Python 3.10.12 (main, Mar 22 2024, 16:50:05) [GCC 11.4.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import isystem.connect as ic >>> ic.getModuleVersion() '9.21.258.0' >>> cmgr = ic.ConnectionMgr() >>> cmgr.connect() >>> cmgr.isAttached() True |
If you get an error:
ImportError: libxerces-c-3.1.so: cannot open shared object file: No such file or directory |
it means that you have to install xerces:
sudo apt-get install libxerces-c3.1 |
Since xerces 3.1 is no longer available (xerces 3.2 is distributed now), you have to download and install it manually:
mkdir xerces31; cd xerces31 |