I am working on a script that works fine with the regular bash shell in Ubuntu 14.04. However, when it starts from PyCharm, I get:
termios.error: (25, "Inappropriate ioctl for the device")
All that is required is this code:
from prompt_toolkit import prompt
text = prompt('Give me some input: ')
print('You said: %s' % text)
from the Python Prompt Toolkit Getting Started example at https://github.com/jonathanslenders/python-prompt-toolkit , which is the only installed package in the python 3.4 virtual environment.
Since the PyCharm integrated debugger works this way, how can I fix it so that the debugger works correctly?