Please enable JavaScript to view this site.

winIDEA Help

Version: 9.21.308

Installing winIDEA SDK for Python

In this topic:

Snap

Docker

Troubleshooting

Ubuntu 18.04

 

 

Introduction

winIDEA containerized installation already provides the supported Python version with dependent modules for running winIDEA SDK.

 

i-icon

When running winIDEA SDK, use Python binaries from the container and not from the host OS.

 

 

Snap

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

 

 

Docker

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

 

 

Troubleshooting

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

 

 

Ubuntu 18.04

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
wget http://archive.apache.org/dist/xerces/c/3/sources/xerces-c-3.1.4.tar.gz
tar xvf xerces-c-3.1.4.tar.gz
cd xerces-c-3.1.4
./configure
make
sudo make install
cd ~/bin/embeddedPy/lib64/python3.6/site-packages/isystem  # dir with your venv
ln -s /usr/local/lib/libxerces-c-3.1.so

 

 

Copyright © 2025 TASKING