I'm working on a script that runs fine from the normal bash shell in Ubuntu 14.04. However when it is run from within PyCharm I get:
termios.error: (25, 'Inappropriate ioctl for device')
All it takes 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 in https://github.com/jonathanslenders/python-prompt-toolkit which is the only installed package in a python 3.4 virtual environment.
Since this is how the integrated debugger in PyCharm runs, how can I fix it so the debugger runs properly?