Error running console (from remote host)


I have set up PyCharm 2016.2.3 to work with remote Ubuntu 16.04 server. Everything works great - code running, debugging, I have even managed to get X11 output to local PC (Windows 10).

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

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()

I am running python 3.5 with ipython (5.1.0)

Thanks for any advice!
Comment actions Permalink


Welcome to the PyCharm Community Board!

The issue you ran in to was a bug in your PyCharm version, see:

Please update your PyCharm if possible. If not, there's a patch in the YouTrack comments which you can apply manually.

I hope this resolves your issue!


Comment actions Permalink

Thanks! PyCharm does not offer new updates yet (2016.2.3 as of today) but patch mentioned in the bug report did the job! 

Comment actions Permalink

Hi Andis,

I'm glad to hear your issue has been resolved.

There are some preview versions available for 2016.3, you can read about their new features on our blog and download them from the PyCharm EAP page. Please keep in mind that these may have bugs.

Have a great day!



Please sign in to leave a comment.