Python console with a remote interpreter can't

2019-06-25 06:40发布

问题:

I am new to remote development with PyCharm. I have an remote environment set up, and it is working fine with one exception, not able to take user input in the console. In running the following statement in the console, the console becomes blocked, and I am prompted "Previous command is still running. Please wait or press Control+C in console to interrupt."

s = input('Enter a value: ')

Executing any file that uses the input() function in the console exhibits the same problem but only with a different message. The message in this case is "Console is not enabled."

Does anyone know a solution to this problem?

Thanks in advance.

P.S. My local host is a Mac, my remote host is Ubuntu 16 with a Python virtual environment created by Conda.