Python Print to Console Not Working (Linux)

   1711   1   1
User Avatar
Member
86 posts
Joined: 4月 2016
オフライン
Is printing to the console just generally broken in 18.5 regardless of Python version?

I'm using Python 2.7.15 on Linux in Houdini 18.5.408 and I can't get Python to print to the console.

A standard print command doesn't work, nor does flush=True as a print flag, nor does calling sys.stdout.flush() after the print command.

I've seen references to issues with Py3, but wondering if it's broken for the 2.7 libs as well...

--
mC
User Avatar
Member
8 posts
Joined: 6月 2020
オフライン
It works here. Manjaro Linux, Houdini 18.5.426 Py3

Of course, I'm running Houdini directly from that console, otherwise it won't show print messages there if ran from start menu for example.
Edited by MikasSadas - 2021年1月28日 04:34:11

Attachments:
2021-01-28_11-32.png (44.9 KB)

  • Quick Links