The error is from a third-party library used by the Lightstreamer Python Client, which tries to print some logs to the virtual console of the Spyder IDE. It seems that this console has some limitations with respect to the standard console. Indeed if you run the same code from the Anaconda Prompt, the Client works as expected.


If possible, I’ll try to fix this issue in a next release of the SDK, but in the meantime my advice is to write your program with Spyder but to run it only from the Anaconda Prompt.