Remote interpreter
已回答
Hi, I'm having trouble setting up the remote interpreter. I've first added the deployment environnement, then try to add the remote interpreter using the deployment option.
When I test my connection, the test passed, I can use SSH terminal without any problems. But opening the Python Console give me this error after a short delay
Couldn't connect to console process.
Process finished with exit code -1
Here is some screenshot.
I'm using PyCharm 2016.3.2 and I'm trying to access an Azure VM.
Any ideas?



请先登录再写评论。
Hi Kelvin! Thank you for the feedback!
Are you able to run Python scripts with your Remote Interpreter configured?
Yes I am.
I have exactly the same problem, Pycharm 2017.1.3, from a Debian to a Debian with ssh connection.
Run and debugging (remotely) works fine. Only fails the Python Console, after a 1-2 minutes with:
ssh://{username}@{server:port}/usr/bin/python3 {home_directory}/.pycharm_helpers/pydev/pydevconsole.py 0 0
Couldn't connect to console process.
Process finished with exit code -1
The relevant part in the log file is (I have changed a my personal data with {} variables)
2017-05-30 10:51:50,905 [2080926] INFO - transport.SshConnectionService - Creating sftp channel within SSH session @5f2bc954 to {username}@{server:port}
2017-05-30 10:51:50,924 [2080945] INFO - transport.SshConnectionService - Executing SSH command: cd /tmp/pycharm_project_299; env "PYTHONDONTWRITEBYTECODE"="1" "PYCHARM_HOSTED"="1" "PYTHONUNBUFFERED"="1" "PYTHONIOENCODING"="UTF-8" "PYTHONPATH"="/tmp/pycharm_project_299:/home/ivar/.pycharm_helpers/pydev" "IPYTHONENABLE"="True" "JETBRAINS_REMOTE_RUN"="1" /usr/bin/python3 {home_directory}/.pycharm_helpers/pydev/pydevconsole.py 0 0 within SSH session @5f2bc954 to {username}@{server:port}
2017-05-30 10:51:51,622 [2081643] WARN - console.PydevConsoleRunnerImpl - Unexpected strings in output:
Python 3.4.2 (default, Oct 8 2014, 10:45:20)
Type 'copyright', 'credits' or 'license' for more information
IPython 6.0.0 -- An enhanced Interactive Python. Type '?' for help.
39869
Hi Ivarzap! Looks like PY-18029. Please follow it.