Andis Andis - 1 year ago 186
Python Question

Pycharm iPython console not working with remote host

I have set up PyCharm 2016.2.3 on Win10 to work with remote Ubuntu 16.04 server. Everything works great - running, debugging, even X11 forwarding (with Putty).

However, I am unable to run remote iPython console (if iPython is disabled in Settings, regular console works).

I get following error message:

Error:Console process terminated with error:
File "/usr/local/lib/python3.5/dist-packages/prompt_toolkit/", line 81, in __init__
self.input = input or StdinInput(sys.stdin)
File "/usr/local/lib/python3.5/dist-packages/prompt_toolkit/", line 67, in __init__
assert self.stdin.isatty()

On the server I am running Python 3.5 with iPython (5.1.0)

Thanks for any advice!

Answer Source

Patch has been issued ( and will be fixed in latest PyCharm version.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download